!function(e) {
    var t = {};
    function r(n) {
        if (t[n])
            return t[n].exports;
        var o = t[n] = {
            i: n,
            l: !1,
            exports: {}
        };
        return e[n].call(o.exports, o, o.exports, r),
        o.l = !0,
        o.exports
    }
    r.m = e,
    r.c = t,
    r.d = function(e, t, n) {
        r.o(e, t) || Object.defineProperty(e, t, {
            enumerable: !0,
            get: n
        })
    }
    ,
    r.r = function(e) {
        "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
            value: "Module"
        }),
        Object.defineProperty(e, "__esModule", {
            value: !0
        })
    }
    ,
    r.t = function(e, t) {
        if (1 & t && (e = r(e)),
        8 & t)
            return e;
        if (4 & t && "object" == typeof e && e && e.__esModule)
            return e;
        var n = Object.create(null);
        if (r.r(n),
        Object.defineProperty(n, "default", {
            enumerable: !0,
            value: e
        }),
        2 & t && "string" != typeof e)
            for (var o in e)
                r.d(n, o, function(t) {
                    return e[t]
                }
                .bind(null, o));
        return n
    }
    ,
    r.n = function(e) {
        var t = e && e.__esModule ? function t() {
            return e.default
        }
        : function t() {
            return e
        }
        ;
        return r.d(t, "a", t),
        t
    }
    ,
    r.o = function(e, t) {
        return Object.prototype.hasOwnProperty.call(e, t)
    }
    ,
    r.p = "/",
    r(r.s = 22)
}([function(e, t) {
    e.exports = window.biu ? biu.require("react") : window.React
}
, function(e, t, r) {
    var n = r(26)();
    e.exports = n;
    try {
        regeneratorRuntime = n
    } catch (e) {
        "object" == typeof globalThis ? globalThis.regeneratorRuntime = n : Function("r", "regeneratorRuntime = r")(n)
    }
}
, function(e, t, r) {
    var n = r(19);
    function o(e, t, r) {
        return (t = n(t))in e ? Object.defineProperty(e, t, {
            value: r,
            enumerable: !0,
            configurable: !0,
            writable: !0
        }) : e[t] = r,
        e
    }
    e.exports = o,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t) {
    function r(e, t, r, n, o, a, c) {
        try {
            var i = e[a](c)
              , u = i.value
        } catch (e) {
            return void r(e)
        }
        i.done ? t(u) : Promise.resolve(u).then(n, o)
    }
    function n(e) {
        return function() {
            var t = this
              , n = arguments;
            return new Promise((function(o, a) {
                var c = e.apply(t, n);
                function i(e) {
                    r(c, o, a, i, u, "next", e)
                }
                function u(e) {
                    r(c, o, a, i, u, "throw", e)
                }
                i(void 0)
            }
            ))
        }
    }
    e.exports = n,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t, r) {
    var n = r(23)
      , o = r(24)
      , a = r(18)
      , c = r(25);
    function i(e) {
        return n(e) || o(e) || a(e) || c()
    }
    e.exports = i,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t, r) {
    var n = r(29)
      , o = r(30)
      , a = r(18)
      , c = r(31);
    function i(e, t) {
        return n(e) || o(e, t) || a(e, t) || c()
    }
    e.exports = i,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t) {
    function r(t) {
        return e.exports = r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
            return typeof e
        }
        : function(e) {
            return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports,
        r(t)
    }
    e.exports = r,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t) {
    function r(e, t) {
        if (!(e instanceof t))
            throw new TypeError("Cannot call a class as a function")
    }
    e.exports = r,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t, r) {
    var n = r(19);
    function o(e, t) {
        for (var r = 0; r < t.length; r++) {
            var o = t[r];
            o.enumerable = o.enumerable || !1,
            o.configurable = !0,
            "value"in o && (o.writable = !0),
            Object.defineProperty(e, n(o.key), o)
        }
    }
    function a(e, t, r) {
        return t && o(e.prototype, t),
        r && o(e, r),
        Object.defineProperty(e, "prototype", {
            writable: !1
        }),
        e
    }
    e.exports = a,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t) {
    function r(t) {
        return e.exports = r = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function e(t) {
            return t.__proto__ || Object.getPrototypeOf(t)
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports,
        r(t)
    }
    e.exports = r,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t, r) {
    var n = r(28);
    function o(e, t) {
        if (null == e)
            return {};
        var r = n(e, t), o, a;
        if (Object.getOwnPropertySymbols) {
            var c = Object.getOwnPropertySymbols(e);
            for (a = 0; a < c.length; a++)
                o = c[a],
                t.indexOf(o) >= 0 || Object.prototype.propertyIsEnumerable.call(e, o) && (r[o] = e[o])
        }
        return r
    }
    e.exports = o,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t, r) {
    var n = r(33);
    function o(e, t) {
        if ("function" != typeof t && null !== t)
            throw new TypeError("Super expression must either be null or a function");
        e.prototype = Object.create(t && t.prototype, {
            constructor: {
                value: e,
                writable: !0,
                configurable: !0
            }
        }),
        Object.defineProperty(e, "prototype", {
            writable: !1
        }),
        t && n(e, t)
    }
    e.exports = o,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t, r) {
    var n = r(6).default
      , o = r(16);
    function a(e, t) {
        if (t && ("object" === n(t) || "function" == typeof t))
            return t;
        if (void 0 !== t)
            throw new TypeError("Derived constructors may only return object or undefined");
        return o(e)
    }
    e.exports = a,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t) {
    e.exports = window.biu ? biu.require("react-dom") : window.ReactDOM
}
, function(e, t) {
    e.exports = window.https
}
, function(e, t) {
    e.exports = window.http
}
, function(e, t) {
    function r(e) {
        if (void 0 === e)
            throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
        return e
    }
    e.exports = r,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t) {
    function r(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var r = 0, n = new Array(t); r < t; r++)
            n[r] = e[r];
        return n
    }
    e.exports = r,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t, r) {
    var n = r(17);
    function o(e, t) {
        if (e) {
            if ("string" == typeof e)
                return n(e, t);
            var r = Object.prototype.toString.call(e).slice(8, -1);
            return "Object" === r && e.constructor && (r = e.constructor.name),
            "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? n(e, t) : void 0
        }
    }
    e.exports = o,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t, r) {
    var n = r(6).default
      , o = r(27);
    function a(e) {
        var t = o(e, "string");
        return "symbol" === n(t) ? t : String(t)
    }
    e.exports = a,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t, r) {
    var n = r(32);
    function o() {
        return "undefined" != typeof Reflect && Reflect.get ? (e.exports = o = Reflect.get.bind(),
        e.exports.__esModule = !0,
        e.exports.default = e.exports) : (e.exports = o = function e(t, r, o) {
            var a = n(t, r);
            if (a) {
                var c = Object.getOwnPropertyDescriptor(a, r);
                return c.get ? c.get.call(arguments.length < 3 ? t : o) : c.value
            }
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports),
        o.apply(this, arguments)
    }
    e.exports = o,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, , function(e, t, r) {
    e.exports = r(34)
}
, function(e, t, r) {
    var n = r(17);
    function o(e) {
        if (Array.isArray(e))
            return n(e)
    }
    e.exports = o,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t) {
    function r(e) {
        if ("undefined" != typeof Symbol && null != e[Symbol.iterator] || null != e["@@iterator"])
            return Array.from(e)
    }
    e.exports = r,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t) {
    function r() {
        throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
    }
    e.exports = r,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t, r) {
    var n = r(6).default;
    function o() {
        "use strict";
        /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
        e.exports = o = function e() {
            return r
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports;
        var t, r = {}, a = Object.prototype, c = a.hasOwnProperty, i = Object.defineProperty || function(e, t, r) {
            e[t] = r.value
        }
        , u = "function" == typeof Symbol ? Symbol : {}, s = u.iterator || "@@iterator", f = u.asyncIterator || "@@asyncIterator", p = u.toStringTag || "@@toStringTag";
        function l(e, t, r) {
            return Object.defineProperty(e, t, {
                value: r,
                enumerable: !0,
                configurable: !0,
                writable: !0
            }),
            e[t]
        }
        try {
            l({}, "")
        } catch (t) {
            l = function e(t, r, n) {
                return t[r] = n
            }
        }
        function d(e, t, r, n) {
            var o = t && t.prototype instanceof g ? t : g
              , a = Object.create(o.prototype)
              , c = new I(n || []);
            return i(a, "_invoke", {
                value: D(e, r, c)
            }),
            a
        }
        function h(e, t, r) {
            try {
                return {
                    type: "normal",
                    arg: e.call(t, r)
                }
            } catch (e) {
                return {
                    type: "throw",
                    arg: e
                }
            }
        }
        r.wrap = d;
        var y = "suspendedStart"
          , v = "suspendedYield"
          , m = "executing"
          , b = "completed"
          , w = {};
        function g() {}
        function O() {}
        function j() {}
        var x = {};
        l(x, s, (function() {
            return this
        }
        ));
        var E = Object.getPrototypeOf
          , P = E && E(E(N([])));
        P && P !== a && c.call(P, s) && (x = P);
        var _ = j.prototype = g.prototype = Object.create(x);
        function k(e) {
            ["next", "throw", "return"].forEach((function(t) {
                l(e, t, (function(e) {
                    return this._invoke(t, e)
                }
                ))
            }
            ))
        }
        function S(e, t) {
            function r(o, a, i, u) {
                var s = h(e[o], e, a);
                if ("throw" !== s.type) {
                    var f = s.arg
                      , p = f.value;
                    return p && "object" == n(p) && c.call(p, "__await") ? t.resolve(p.__await).then((function(e) {
                        r("next", e, i, u)
                    }
                    ), (function(e) {
                        r("throw", e, i, u)
                    }
                    )) : t.resolve(p).then((function(e) {
                        f.value = e,
                        i(f)
                    }
                    ), (function(e) {
                        return r("throw", e, i, u)
                    }
                    ))
                }
                u(s.arg)
            }
            var o;
            i(this, "_invoke", {
                value: function e(n, a) {
                    function c() {
                        return new t((function(e, t) {
                            r(n, a, e, t)
                        }
                        ))
                    }
                    return o = o ? o.then(c, c) : c()
                }
            })
        }
        function D(e, r, n) {
            var o = y;
            return function(a, c) {
                if (o === m)
                    throw new Error("Generator is already running");
                if (o === b) {
                    if ("throw" === a)
                        throw c;
                    return {
                        value: t,
                        done: !0
                    }
                }
                for (n.method = a,
                n.arg = c; ; ) {
                    var i = n.delegate;
                    if (i) {
                        var u = A(i, n);
                        if (u) {
                            if (u === w)
                                continue;
                            return u
                        }
                    }
                    if ("next" === n.method)
                        n.sent = n._sent = n.arg;
                    else if ("throw" === n.method) {
                        if (o === y)
                            throw o = b,
                            n.arg;
                        n.dispatchException(n.arg)
                    } else
                        "return" === n.method && n.abrupt("return", n.arg);
                    o = m;
                    var s = h(e, r, n);
                    if ("normal" === s.type) {
                        if (o = n.done ? b : v,
                        s.arg === w)
                            continue;
                        return {
                            value: s.arg,
                            done: n.done
                        }
                    }
                    "throw" === s.type && (o = b,
                    n.method = "throw",
                    n.arg = s.arg)
                }
            }
        }
        function A(e, r) {
            var n = r.method
              , o = e.iterator[n];
            if (o === t)
                return r.delegate = null,
                "throw" === n && e.iterator.return && (r.method = "return",
                r.arg = t,
                A(e, r),
                "throw" === r.method) || "return" !== n && (r.method = "throw",
                r.arg = new TypeError("The iterator does not provide a '" + n + "' method")),
                w;
            var a = h(o, e.iterator, r.arg);
            if ("throw" === a.type)
                return r.method = "throw",
                r.arg = a.arg,
                r.delegate = null,
                w;
            var c = a.arg;
            return c ? c.done ? (r[e.resultName] = c.value,
            r.next = e.nextLoc,
            "return" !== r.method && (r.method = "next",
            r.arg = t),
            r.delegate = null,
            w) : c : (r.method = "throw",
            r.arg = new TypeError("iterator result is not an object"),
            r.delegate = null,
            w)
        }
        function T(e) {
            var t = {
                tryLoc: e[0]
            };
            1 in e && (t.catchLoc = e[1]),
            2 in e && (t.finallyLoc = e[2],
            t.afterLoc = e[3]),
            this.tryEntries.push(t)
        }
        function C(e) {
            var t = e.completion || {};
            t.type = "normal",
            delete t.arg,
            e.completion = t
        }
        function I(e) {
            this.tryEntries = [{
                tryLoc: "root"
            }],
            e.forEach(T, this),
            this.reset(!0)
        }
        function N(e) {
            if (e || "" === e) {
                var r = e[s];
                if (r)
                    return r.call(e);
                if ("function" == typeof e.next)
                    return e;
                if (!isNaN(e.length)) {
                    var o = -1
                      , a = function r() {
                        for (; ++o < e.length; )
                            if (c.call(e, o))
                                return r.value = e[o],
                                r.done = !1,
                                r;
                        return r.value = t,
                        r.done = !0,
                        r
                    };
                    return a.next = a
                }
            }
            throw new TypeError(n(e) + " is not iterable")
        }
        return O.prototype = j,
        i(_, "constructor", {
            value: j,
            configurable: !0
        }),
        i(j, "constructor", {
            value: O,
            configurable: !0
        }),
        O.displayName = l(j, p, "GeneratorFunction"),
        r.isGeneratorFunction = function(e) {
            var t = "function" == typeof e && e.constructor;
            return !!t && (t === O || "GeneratorFunction" === (t.displayName || t.name))
        }
        ,
        r.mark = function(e) {
            return Object.setPrototypeOf ? Object.setPrototypeOf(e, j) : (e.__proto__ = j,
            l(e, p, "GeneratorFunction")),
            e.prototype = Object.create(_),
            e
        }
        ,
        r.awrap = function(e) {
            return {
                __await: e
            }
        }
        ,
        k(S.prototype),
        l(S.prototype, f, (function() {
            return this
        }
        )),
        r.AsyncIterator = S,
        r.async = function(e, t, n, o, a) {
            void 0 === a && (a = Promise);
            var c = new S(d(e, t, n, o),a);
            return r.isGeneratorFunction(t) ? c : c.next().then((function(e) {
                return e.done ? e.value : c.next()
            }
            ))
        }
        ,
        k(_),
        l(_, p, "Generator"),
        l(_, s, (function() {
            return this
        }
        )),
        l(_, "toString", (function() {
            return "[object Generator]"
        }
        )),
        r.keys = function(e) {
            var t = Object(e)
              , r = [];
            for (var n in t)
                r.push(n);
            return r.reverse(),
            function e() {
                for (; r.length; ) {
                    var n = r.pop();
                    if (n in t)
                        return e.value = n,
                        e.done = !1,
                        e
                }
                return e.done = !0,
                e
            }
        }
        ,
        r.values = N,
        I.prototype = {
            constructor: I,
            reset: function e(r) {
                if (this.prev = 0,
                this.next = 0,
                this.sent = this._sent = t,
                this.done = !1,
                this.delegate = null,
                this.method = "next",
                this.arg = t,
                this.tryEntries.forEach(C),
                !r)
                    for (var n in this)
                        "t" === n.charAt(0) && c.call(this, n) && !isNaN(+n.slice(1)) && (this[n] = t)
            },
            stop: function e() {
                this.done = !0;
                var t = this.tryEntries[0].completion;
                if ("throw" === t.type)
                    throw t.arg;
                return this.rval
            },
            dispatchException: function e(r) {
                if (this.done)
                    throw r;
                var n = this;
                function o(e, o) {
                    return u.type = "throw",
                    u.arg = r,
                    n.next = e,
                    o && (n.method = "next",
                    n.arg = t),
                    !!o
                }
                for (var a = this.tryEntries.length - 1; a >= 0; --a) {
                    var i = this.tryEntries[a]
                      , u = i.completion;
                    if ("root" === i.tryLoc)
                        return o("end");
                    if (i.tryLoc <= this.prev) {
                        var s = c.call(i, "catchLoc")
                          , f = c.call(i, "finallyLoc");
                        if (s && f) {
                            if (this.prev < i.catchLoc)
                                return o(i.catchLoc, !0);
                            if (this.prev < i.finallyLoc)
                                return o(i.finallyLoc)
                        } else if (s) {
                            if (this.prev < i.catchLoc)
                                return o(i.catchLoc, !0)
                        } else {
                            if (!f)
                                throw new Error("try statement without catch or finally");
                            if (this.prev < i.finallyLoc)
                                return o(i.finallyLoc)
                        }
                    }
                }
            },
            abrupt: function e(t, r) {
                for (var n = this.tryEntries.length - 1; n >= 0; --n) {
                    var o = this.tryEntries[n];
                    if (o.tryLoc <= this.prev && c.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
                        var a = o;
                        break
                    }
                }
                a && ("break" === t || "continue" === t) && a.tryLoc <= r && r <= a.finallyLoc && (a = null);
                var i = a ? a.completion : {};
                return i.type = t,
                i.arg = r,
                a ? (this.method = "next",
                this.next = a.finallyLoc,
                w) : this.complete(i)
            },
            complete: function e(t, r) {
                if ("throw" === t.type)
                    throw t.arg;
                return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg,
                this.method = "return",
                this.next = "end") : "normal" === t.type && r && (this.next = r),
                w
            },
            finish: function e(t) {
                for (var r = this.tryEntries.length - 1; r >= 0; --r) {
                    var n = this.tryEntries[r];
                    if (n.finallyLoc === t)
                        return this.complete(n.completion, n.afterLoc),
                        C(n),
                        w
                }
            },
            catch: function e(t) {
                for (var r = this.tryEntries.length - 1; r >= 0; --r) {
                    var n = this.tryEntries[r];
                    if (n.tryLoc === t) {
                        var o = n.completion;
                        if ("throw" === o.type) {
                            var a = o.arg;
                            C(n)
                        }
                        return a
                    }
                }
                throw new Error("illegal catch attempt")
            },
            delegateYield: function e(r, n, o) {
                return this.delegate = {
                    iterator: N(r),
                    resultName: n,
                    nextLoc: o
                },
                "next" === this.method && (this.arg = t),
                w
            }
        },
        r
    }
    e.exports = o,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t, r) {
    var n = r(6).default;
    function o(e, t) {
        if ("object" !== n(e) || null === e)
            return e;
        var r = e[Symbol.toPrimitive];
        if (void 0 !== r) {
            var o = r.call(e, t || "default");
            if ("object" !== n(o))
                return o;
            throw new TypeError("@@toPrimitive must return a primitive value.")
        }
        return ("string" === t ? String : Number)(e)
    }
    e.exports = o,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t) {
    function r(e, t) {
        if (null == e)
            return {};
        var r = {}, n = Object.keys(e), o, a;
        for (a = 0; a < n.length; a++)
            o = n[a],
            t.indexOf(o) >= 0 || (r[o] = e[o]);
        return r
    }
    e.exports = r,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t) {
    function r(e) {
        if (Array.isArray(e))
            return e
    }
    e.exports = r,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t) {
    function r(e, t) {
        var r = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
        if (null != r) {
            var n, o, a, c, i = [], u = !0, s = !1;
            try {
                if (a = (r = r.call(e)).next,
                0 === t) {
                    if (Object(r) !== r)
                        return;
                    u = !1
                } else
                    for (; !(u = (n = a.call(r)).done) && (i.push(n.value),
                    i.length !== t); u = !0)
                        ;
            } catch (e) {
                s = !0,
                o = e
            } finally {
                try {
                    if (!u && null != r.return && (c = r.return(),
                    Object(c) !== c))
                        return
                } finally {
                    if (s)
                        throw o
                }
            }
            return i
        }
    }
    e.exports = r,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t) {
    function r() {
        throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
    }
    e.exports = r,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t, r) {
    var n = r(9);
    function o(e, t) {
        for (; !Object.prototype.hasOwnProperty.call(e, t) && null !== (e = n(e)); )
            ;
        return e
    }
    e.exports = o,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t) {
    function r(t, n) {
        return e.exports = r = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function e(t, r) {
            return t.__proto__ = r,
            t
        }
        ,
        e.exports.__esModule = !0,
        e.exports.default = e.exports,
        r(t, n)
    }
    e.exports = r,
    e.exports.__esModule = !0,
    e.exports.default = e.exports
}
, function(e, t, r) {
    "use strict";
    r.r(t);
    var n = r(3)
      , o = r.n(n)
      , a = r(4)
      , c = r.n(a)
      , i = r(1)
      , u = r.n(i)
      , s = r(13)
      , f = r.n(s)
      , p = r(0)
      , l = r.n(p)
      , d = r(2)
      , h = r.n(d)
      , y = r(6)
      , v = r.n(y);
    function m(e, t) {
        var r = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
            var n = Object.getOwnPropertySymbols(e);
            t && (n = n.filter((function(t) {
                return Object.getOwnPropertyDescriptor(e, t).enumerable
            }
            ))),
            r.push.apply(r, n)
        }
        return r
    }
    function b(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = null != arguments[t] ? arguments[t] : {};
            t % 2 ? m(Object(r), !0).forEach((function(t) {
                h()(e, t, r[t])
            }
            )) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : m(Object(r)).forEach((function(t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
            }
            ))
        }
        return e
    }
    var w, g = "function" != typeof fetch ? {
        get: function e(t) {
            var n = arguments;
            return o()(u.a.mark((function e() {
                var o, a;
                return u.a.wrap((function e(c) {
                    for (; ; )
                        switch (c.prev = c.next) {
                        case 0:
                            return o = n.length > 1 && void 0 !== n[1] ? n[1] : {},
                            a = /^https:\/\//.test(t) ? r(14) : r(15),
                            c.abrupt("return", new Promise((function(e, r) {
                                a.get(t, (function(n) {
                                    if (200 !== n.statusCode)
                                        return n.resume(),
                                        void r("\u8bf7\u6c42 ".concat(t, " statusCode: ").concat(n.statusCode));
                                    n.setEncoding("utf8");
                                    var a = [];
                                    n.on("data", (function(e) {
                                        a.push(e)
                                    }
                                    )),
                                    n.on("end", (function() {
                                        var t = a.join("");
                                        if ("text" !== o.dataType)
                                            try {
                                                var c = JSON.parse(t);
                                                e({
                                                    status: n.statusCode,
                                                    data: c
                                                })
                                            } catch (e) {
                                                r(e.message)
                                            }
                                        else
                                            e({
                                                status: n.statusCode,
                                                data: t
                                            })
                                    }
                                    ))
                                }
                                )).on("error", (function(e) {
                                    r(e.message)
                                }
                                ))
                            }
                            )));
                        case 3:
                        case "end":
                            return c.stop()
                        }
                }
                ), e)
            }
            )))()
        },
        post: function e(t, n) {
            return o()(u.a.mark((function e() {
                var o;
                return u.a.wrap((function e(a) {
                    for (; ; )
                        switch (a.prev = a.next) {
                        case 0:
                            if (n && "object" === v()(n.body)) {
                                a.next = 2;
                                break
                            }
                            throw new Error("");
                        case 2:
                            return o = /^https:\/\//.test(t) ? r(14) : r(15),
                            a.abrupt("return", new Promise((function(e, r) {
                                var a, c;
                                switch (n.contentType || "json") {
                                case "form":
                                    a = "application/x-www-form-urlencoded",
                                    c = Object.keys(n.body).map((function(e) {
                                        var t = n.body[e];
                                        return [e, encodeURIComponent(t)].join("=")
                                    }
                                    )).join("&");
                                    break;
                                case "json":
                                    a = "application/json",
                                    c = JSON.stringify(n.body)
                                }
                                o.request(t, {
                                    method: "POST",
                                    headers: b(b({}, n.headers), {}, {
                                        "content-type": a
                                    })
                                }, (function(n) {
                                    if (200 !== n.statusCode)
                                        return n.resume(),
                                        void r("\u8bf7\u6c42 ".concat(t, " statusCode: ").concat(n.statusCode));
                                    n.setEncoding("utf8");
                                    var o = [];
                                    n.on("data", (function(e) {
                                        o.push(e)
                                    }
                                    )),
                                    n.on("end", (function() {
                                        try {
                                            var t = JSON.parse(o.join(""));
                                            e({
                                                status: 200,
                                                data: t
                                            })
                                        } catch (e) {
                                            r(e.message)
                                        }
                                    }
                                    ))
                                }
                                )).on("error", (function(e) {
                                    r(e.message)
                                }
                                )).end(c)
                            }
                            )));
                        case 4:
                        case "end":
                            return a.stop()
                        }
                }
                ), e)
            }
            )))()
        },
        head: function e(t, n) {
            return o()(u.a.mark((function e() {
                var n;
                return u.a.wrap((function e(o) {
                    for (; ; )
                        switch (o.prev = o.next) {
                        case 0:
                            return n = /^https:\/\//.test(t) ? r(14) : r(15),
                            o.abrupt("return", new Promise((function(e, r) {
                                n.request(t, {
                                    method: "HEAD"
                                }, (function(t) {
                                    e({
                                        status: t.statusCode,
                                        data: void 0
                                    })
                                }
                                )).on("error", (function(e) {
                                    r(e.message)
                                }
                                )).end()
                            }
                            )));
                        case 2:
                        case "end":
                            return o.stop()
                        }
                }
                ), e)
            }
            )))()
        }
    } : {
        get: function e(t, r) {
            return o()(u.a.mark((function e() {
                return u.a.wrap((function e(n) {
                    for (; ; )
                        switch (n.prev = n.next) {
                        case 0:
                            return n.abrupt("return", fetch(t, {
                                credentials: null != r && r.includeCookie ? "include" : void 0
                            }).then((function(e) {
                                return e.json()
                            }
                            )).then((function(e) {
                                return {
                                    status: 200,
                                    data: e
                                }
                            }
                            )));
                        case 1:
                        case "end":
                            return n.stop()
                        }
                }
                ), e)
            }
            )))()
        },
        post: function e(t, r) {
            return o()(u.a.mark((function e() {
                var n, o;
                return u.a.wrap((function e(a) {
                    for (; ; )
                        switch (a.prev = a.next) {
                        case 0:
                            if (r && "object" === v()(r.body)) {
                                a.next = 2;
                                break
                            }
                            throw new Error("");
                        case 2:
                            a.t0 = r.contentType || "json",
                            a.next = "form" === a.t0 ? 5 : "json" === a.t0 ? 8 : 11;
                            break;
                        case 5:
                            return n = "application/x-www-form-urlencoded",
                            o = Object.keys(r.body).map((function(e) {
                                var t = r.body[e];
                                return [e, encodeURIComponent(t)].join("=")
                            }
                            )).join("&"),
                            a.abrupt("break", 11);
                        case 8:
                            return n = "application/json",
                            o = JSON.stringify(r.body),
                            a.abrupt("break", 11);
                        case 11:
                            return a.abrupt("return", fetch(t, {
                                method: "POST",
                                body: o,
                                headers: {
                                    "content-type": n
                                },
                                credentials: r.includeCookie ? "include" : void 0
                            }).then((function(e) {
                                return e.json()
                            }
                            )).then((function(e) {
                                return {
                                    status: 200,
                                    data: e
                                }
                            }
                            )));
                        case 12:
                        case "end":
                            return a.stop()
                        }
                }
                ), e)
            }
            )))()
        },
        head: function e(t, r) {
            return o()(u.a.mark((function e() {
                return u.a.wrap((function e(t) {
                    for (; ; )
                        switch (t.prev = t.next) {
                        case 0:
                            return t.abrupt("return", null);
                        case 1:
                        case "end":
                            return t.stop()
                        }
                }
                ), e)
            }
            )))()
        }
    }, O, j = {
        get: function e(t) {
            var r = arguments
              , n = this;
            return o()(u.a.mark((function e() {
                var o, a, c;
                return u.a.wrap((function e(i) {
                    for (; ; )
                        switch (i.prev = i.next) {
                        case 0:
                            return o = r.length > 1 && void 0 !== r[1] ? r[1] : {},
                            a = n.middlewares.GET || [],
                            c = a.reduce((function(e, t) {
                                return function(r, n) {
                                    return t(r, n, e)
                                }
                            }
                            ), g.get),
                            i.abrupt("return", c(t, o));
                        case 4:
                        case "end":
                            return i.stop()
                        }
                }
                ), e)
            }
            )))()
        },
        post: function e(t, r) {
            return o()(u.a.mark((function e() {
                return u.a.wrap((function e(n) {
                    for (; ; )
                        switch (n.prev = n.next) {
                        case 0:
                            return n.abrupt("return", g.post(t, r));
                        case 1:
                        case "end":
                            return n.stop()
                        }
                }
                ), e)
            }
            )))()
        },
        head: function e(t, r) {
            return o()(u.a.mark((function e() {
                return u.a.wrap((function e(n) {
                    for (; ; )
                        switch (n.prev = n.next) {
                        case 0:
                            return n.abrupt("return", g.head(t, r));
                        case 1:
                        case "end":
                            return n.stop()
                        }
                }
                ), e)
            }
            )))()
        },
        middlewares: {
            GET: []
        }
    }, x, E;
    function P(e, t) {
        var r = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
            var n = Object.getOwnPropertySymbols(e);
            t && (n = n.filter((function(t) {
                return Object.getOwnPropertyDescriptor(e, t).enumerable
            }
            ))),
            r.push.apply(r, n)
        }
        return r
    }
    function _(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = null != arguments[t] ? arguments[t] : {};
            t % 2 ? P(Object(r), !0).forEach((function(t) {
                h()(e, t, r[t])
            }
            )) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : P(Object(r)).forEach((function(t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
            }
            ))
        }
        return e
    }
    !function(e) {
        e.Daily = "daily",
        e.Pre = "pre",
        e.Grey = "grey",
        e.Prod = "prod"
    }(x || (x = {})),
    function(e) {
        e.zh_CN = "zh_CN",
        e.en_US = "en_US"
    }(E || (E = {}));
    var k = function(e) {
        return S.apply(this, arguments)
    };
    function S() {
        return (S = o()(u.a.mark((function e(t) {
            var r, n, o, a, c, i = arguments;
            return u.a.wrap((function e(u) {
                for (; ; )
                    switch (u.prev = u.next) {
                    case 0:
                        return r = i.length > 1 && void 0 !== i[1] ? i[1] : x.Prod,
                        n = i.length > 2 && void 0 !== i[2] ? i[2] : E.zh_CN,
                        o = !(i.length > 3 && void 0 !== i[3]) || i[3],
                        a = o ? "https://cloud-assets.alicdn.com/lowcode/model/timely-data" : "https://externa-service-model-service-tasueetacu.cn-zhangjiakou.fcapp.run/external/model-data/get",
                        u.next = 6,
                        j.get("".concat(a, "?dataId=").concat(t, "&env=").concat(r, "&lang=").concat(n));
                    case 6:
                        if (200 !== (c = u.sent).status || !c.data.success) {
                            u.next = 11;
                            break
                        }
                        return u.abrupt("return", _(_({}, c.data.model.data), {}, {
                            __scm: c.data.model.scm
                        }));
                    case 11:
                        throw console.log("\u6a21\u578b\u6570\u636e ".concat(t, " \u8bf7\u6c42\u5931\u8d25")),
                        new Error(JSON.stringify({
                            code: c.data.errorCode,
                            message: c.data.errorMessage
                        }));
                    case 13:
                    case "end":
                        return u.stop()
                    }
            }
            ), e)
        }
        )))).apply(this, arguments)
    }
    var D = function(e) {
        return A.apply(this, arguments)
    };
    function A() {
        return (A = o()(u.a.mark((function e(t) {
            var r, n, o, a, c, i = arguments;
            return u.a.wrap((function e(u) {
                for (; ; )
                    switch (u.prev = u.next) {
                    case 0:
                        return r = i.length > 1 && void 0 !== i[1] ? i[1] : x.Prod,
                        n = i.length > 2 && void 0 !== i[2] ? i[2] : E.zh_CN,
                        o = !(i.length > 3 && void 0 !== i[3]) || i[3],
                        a = o ? "https://cloud-assets.alicdn.com/lowcode/model/timely-delivery-data" : "https://externa-service-model-service-tasueetacu.cn-zhangjiakou.fcapp.run/external/deliver/get",
                        u.next = 6,
                        j.get("".concat(a, "?deliverInstanceId=").concat(t, "&env=").concat(r, "&lang=").concat(n));
                    case 6:
                        if (200 !== (c = u.sent).status || !c.data.success) {
                            u.next = 18;
                            break
                        }
                        c.data.model.deliverStructure || (c.data.model.deliverStructure = "List"),
                        u.t0 = c.data.model.deliverStructure,
                        u.next = "Single" === u.t0 ? 12 : "List" === u.t0 ? 13 : "Tree" === u.t0 ? 14 : "Trees" === u.t0 ? 15 : 16;
                        break;
                    case 12:
                        return u.abrupt("return", {
                            shape: "Single",
                            data: c.data.model.deliverData
                        });
                    case 13:
                        return u.abrupt("return", {
                            shape: "List",
                            data: c.data.model.deliverData
                        });
                    case 14:
                        return u.abrupt("return", {
                            shape: "Tree",
                            data: c.data.model.deliverData
                        });
                    case 15:
                        return u.abrupt("break", 16);
                    case 16:
                        u.next = 20;
                        break;
                    case 18:
                        throw console.log("\u6295\u653e\u6570\u636e ".concat(t, " \u8bf7\u6c42\u5931\u8d25")),
                        new Error(JSON.stringify({
                            code: c.data.errorCode,
                            message: c.data.errorMessage
                        }));
                    case 20:
                    case "end":
                        return u.stop()
                    }
            }
            ), e)
        }
        )))).apply(this, arguments)
    }
    var T = /^[^\[]+/
      , C = /\[(\*|\d+|\$\d+)\]/g
      , I = {};
    function N(e) {
        if (I[e])
            return I[e];
        var t = [];
        return e.split(".").forEach((function(e) {
            var r;
            if (e = e.trim())
                for (e = e.replace(T, (function(e) {
                    return t.push({
                        type: "object",
                        property: e
                    }),
                    ""
                }
                )),
                C.lastIndex = 0; r = C.exec(e); ) {
                    var n = r[1].trim();
                    "*" === n ? t.push({
                        type: "array",
                        mode: "wildcard"
                    }) : /^\$\d+$/.test(n) ? t.push({
                        type: "array",
                        mode: "match",
                        index: parseInt(n.replace("$", ""))
                    }) : /^\d+$/.test(n) && t.push({
                        type: "array",
                        mode: "exact",
                        index: parseInt(n)
                    })
                }
        }
        )),
        I[e] = t,
        t
    }
    function M(e, t) {
        var r = "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
        if (!r) {
            if (Array.isArray(e) || (r = R(e)) || t && e && "number" == typeof e.length) {
                r && (e = r);
                var n = 0
                  , o = function e() {};
                return {
                    s: o,
                    n: function t() {
                        return n >= e.length ? {
                            done: !0
                        } : {
                            done: !1,
                            value: e[n++]
                        }
                    },
                    e: function e(t) {
                        throw t
                    },
                    f: o
                }
            }
            throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
        }
        var a = !0, c = !1, i;
        return {
            s: function t() {
                r = r.call(e)
            },
            n: function e() {
                var t = r.next();
                return a = t.done,
                t
            },
            e: function e(t) {
                c = !0,
                i = t
            },
            f: function e() {
                try {
                    a || null == r.return || r.return()
                } finally {
                    if (c)
                        throw i
                }
            }
        }
    }
    function R(e, t) {
        if (e) {
            if ("string" == typeof e)
                return L(e, t);
            var r = Object.prototype.toString.call(e).slice(8, -1);
            return "Object" === r && e.constructor && (r = e.constructor.name),
            "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? L(e, t) : void 0
        }
    }
    function L(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var r = 0, n = new Array(t); r < t; r++)
            n[r] = e[r];
        return n
    }
    function $(e, t) {
        var r, n = M("string" == typeof t ? N(t) : t), o;
        try {
            for (n.s(); !(o = n.n()).done; ) {
                var a = o.value;
                switch (a.type) {
                case "object":
                    if (!e || Array.isArray(e))
                        return;
                    e = e[a.property];
                    break;
                case "array":
                    if (!Array.isArray(e))
                        return;
                    if ("wildcard" === a.mode)
                        throw new Error("get \u65b9\u6cd5\u7684 path \u53c2\u6570\u4e0d\u652f\u6301 [*] \u8bed\u6cd5");
                    if ("match" === a.mode)
                        throw new Error("get \u65b9\u6cd5\u7684 path \u53c2\u6570\u4e0d\u652f\u6301 [$\u6570\u5b57] \u8bed\u6cd5");
                    e = e[a.index]
                }
            }
        } catch (e) {
            n.e(e)
        } finally {
            n.f()
        }
        return e
    }
    function U(e, t, r) {
        var n = e
          , o = null
          , a = ""
          , c = "string" == typeof t ? N(t) : t
          , i = c.length - 1;
        return c.forEach((function(t, c) {
            switch (t.type) {
            case "object":
                if (e || (o ? o[a] = e = {} : n = e = {}),
                Array.isArray(e))
                    throw new Error("\u65e0\u6cd5\u7ed9\u6570\u7ec4\u7c7b\u578b\u8d4b\u503c\u5bf9\u8c61\u6210\u5458\u503c");
                c === i ? e[t.property] = r : (o = e,
                a = t.property,
                e = o[a]);
                break;
            case "array":
                if (e || (o ? o[a] = e = [] : n = e = []),
                !Array.isArray(e))
                    throw new Error("\u65e0\u6cd5\u7ed9\u5bf9\u8c61\u8d4b\u503c\u6570\u7ec4\u6210\u5458\u503c");
                if ("wildcard" === t.mode)
                    throw new Error("set \u65b9\u6cd5\u7684 path \u53c2\u6570\u4e0d\u652f\u6301 [*] \u8bed\u6cd5");
                if ("match" === t.mode)
                    throw new Error("set \u65b9\u6cd5\u7684 path \u53c2\u6570\u4e0d\u652f\u6301 [$\u6570\u5b57] \u8bed\u6cd5");
                c === i ? e[t.index] = r : (o = e,
                a = t.index,
                e = o[a])
            }
        }
        )),
        n
    }
    function q(e, t) {
        var r;
        return N(t).every((function(t) {
            switch (t.type) {
            case "object":
                return !(!e || Array.isArray(e)) && (t.property in e && (e = e[t.property],
                !0));
            case "array":
                if (!Array.isArray(e))
                    return !1;
                if ("wildcard" === t.mode)
                    throw new Error("has \u65b9\u6cd5\u7684 path \u53c2\u6570\u4e0d\u652f\u6301 [*] \u8bed\u6cd5");
                if ("match" === t.mode)
                    throw new Error("has \u65b9\u6cd5\u7684 path \u53c2\u6570\u4e0d\u652f\u6301 [$\u6570\u5b57] \u8bed\u6cd5");
                return !(t.index >= e.length)
            }
        }
        ))
    }
    var F = void 0;
    function J(e) {
        var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}
          , r = Object.keys(t);
        if (0 === r.length)
            return e;
        var n = null;
        return r.forEach((function(r) {
            var o = t[r], a, c = G(N(o)), i;
            z(e, c).forEach((function(e) {
                var t = e.matchs
                  , a = e.value;
                if (void 0 !== a) {
                    var c = r.replace(/\[\$(\d+)\]/g, (function(e, n) {
                        var a = t[n];
                        if ("number" == typeof a)
                            return "[".concat(a, "]");
                        throw new Error("\u8def\u5f84 ".concat(r, " \u7684 [$").concat(n, "] \u8d85\u51fa\u4e86\u76ee\u6807\u8def\u5f84 ").concat(o, " \u901a\u914d\u7d22\u5f15\u8303\u56f4"))
                    }
                    ));
                    n = U(n, c, a)
                }
            }
            ))
        }
        )),
        n
    }
    function z(e, t) {
        var r = t.shift();
        if (Array.isArray(r))
            return e = $(e, r),
            t.length ? z(e, c()(t)) : [{
                matchs: [],
                value: e
            }];
        if (Array.isArray(e)) {
            var n = [];
            return e.forEach((function(e, r) {
                t.length ? z(e, c()(t)).forEach((function(e) {
                    n.push({
                        matchs: [r].concat(c()(e.matchs)),
                        value: e.value
                    })
                }
                )) : n.push({
                    matchs: [r],
                    value: e
                })
            }
            )),
            n
        }
        return []
    }
    function G(e) {
        var t = []
          , r = [];
        return e.forEach((function(e) {
            switch (e.type) {
            case "object":
                r.push(e);
                break;
            case "array":
                switch (e.mode) {
                case "exact":
                    r.push(e);
                    break;
                case "match":
                    throw new Error("\u6620\u5c04\u76ee\u6807\u5bf9\u8c61\u8def\u5f84\u65f6\uff0c\u65e0\u6cd5\u8fdb\u884c [$\u6570\u5b57] \u5339\u914d\u89c4\u5219");
                case "wildcard":
                    r.length && (t.push(r),
                    r = []),
                    t.push(e)
                }
            }
        }
        )),
        r.length && t.push(r),
        t
    }
    function B(e, t) {
        var r = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
            var n = Object.getOwnPropertySymbols(e);
            t && (n = n.filter((function(t) {
                return Object.getOwnPropertyDescriptor(e, t).enumerable
            }
            ))),
            r.push.apply(r, n)
        }
        return r
    }
    function H(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = null != arguments[t] ? arguments[t] : {};
            t % 2 ? B(Object(r), !0).forEach((function(t) {
                h()(e, t, r[t])
            }
            )) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : B(Object(r)).forEach((function(t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
            }
            ))
        }
        return e
    }
    var V = {};
    function Y(e, t) {
        var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
        if (!1 !== r.checkUndefined) {
            if (void 0 === e)
                return t;
            if (void 0 === t)
                return e
        }
        return e && "object" === v()(e) && t && "object" === v()(t) ? Array.isArray(e) ? !1 !== r.mergeArray && Array.isArray(t) ? X(e, t, r) : t : Array.isArray(t) ? t : W(e, t, r) : t
    }
    function W(e, t) {
        var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
        if (t.__type) {
            var n = (r.customTypeMerge || V)[t.__type];
            if (n)
                return n(e, t)
        }
        if (t.constructor && t.constructor.name && "Object" !== t.constructor.name)
            return console.log("skip deep merge object type: " + t.constructor.name),
            t;
        var o = {};
        return Object.keys(H(H({}, e), t)).forEach((function(n) {
            if (n in t)
                if (n in e) {
                    var a = e[n]
                      , c = t[n];
                    o[n] = Y(a, c, H(H({}, r), {}, {
                        checkUndefined: !1
                    }))
                } else
                    o[n] = t[n];
            else
                o[n] = e[n]
        }
        )),
        o
    }
    function X(e, t) {
        for (var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, n = [], o = 0, a = Math.max(e.length, t.length); o < a; o++)
            if (o in e)
                if (o in t) {
                    var c = e[o]
                      , i = t[o];
                    n[o] = Y(c, i, H(H({}, r), {}, {
                        checkUndefined: !1
                    }))
                } else
                    n[o] = e[o];
            else
                o in t && (n[o] = t[o]);
        return n
    }
    V.model = V.delivery = function(e, t) {
        return t
    }
    ,
    V.slot = function(e, t) {
        return e && "slot" === e.__type ? t.value ? t : e : t
    }
    ;
    var Q = {}
      , Z = {}
      , K = {};
    function ee() {
        return Q
    }
    function te() {
        Q = {}
    }
    function re(e) {
        Object.keys(e).forEach((function(t) {
            Q[t] = e[t]
        }
        ))
    }
    var ne = function(e, t, r) {
        return function n(a, i) {
            var s = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : x.Prod
              , f = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : E.zh_CN
              , p = [];
            Object.keys(i).some((function(e) {
                var t = N(i[e])[0];
                if (!t)
                    throw new Error("");
                if ("array" === t.type)
                    return !0;
                var r = t.property;
                -1 === p.indexOf(r) && p.push(r)
            }
            ));
            var l = p.length > 0
              , d = []
              , h = Q[a];
            if (h) {
                if (!l)
                    return t(h.data, i);
                if (0 === (d = p.filter((function(e) {
                    return -1 === h.properties.indexOf(e)
                }
                ))).length)
                    return t(h.data, i)
            } else
                d = p;
            var y = []
              , v = Z[a];
            if (v && v.length) {
                if (!l)
                    return v[0].request.then((function() {
                        return t(Q[a].data, i)
                    }
                    ));
                v.some((function(e) {
                    var t = d.filter((function(t) {
                        return -1 === e.properties.indexOf(t)
                    }
                    ));
                    if (t.length !== d.length && (y.push(e.request),
                    0 === (d = t).length))
                        return !0
                }
                ))
            }
            if (d.length || !l) {
                if (!K[a]) {
                    var m = new Promise(function() {
                        var t = o()(u.a.mark((function t(n, o) {
                            var i, p, l;
                            return u.a.wrap((function t(u) {
                                for (; ; )
                                    switch (u.prev = u.next) {
                                    case 0:
                                        return u.next = 2,
                                        Promise.resolve();
                                    case 2:
                                        return i = e(a, s, f),
                                        Z[a] || (Z[a] = []),
                                        p = {
                                            properties: K[a].properties,
                                            request: i
                                        },
                                        Z[a].push(p),
                                        delete K[a],
                                        u.prev = 7,
                                        u.next = 10,
                                        i;
                                    case 10:
                                        l = u.sent,
                                        Q[a] ? Q[a] = {
                                            properties: [].concat(c()(Q[a].properties), c()(p.properties)),
                                            data: r(Q[a].data, l)
                                        } : Q[a] = {
                                            properties: p.properties,
                                            data: l
                                        },
                                        n(l),
                                        u.next = 18;
                                        break;
                                    case 15:
                                        u.prev = 15,
                                        u.t0 = u.catch(7),
                                        o(u.t0);
                                    case 18:
                                        Z[a] = Z[a].filter((function(e) {
                                            return e !== p
                                        }
                                        ));
                                    case 19:
                                    case "end":
                                        return u.stop()
                                    }
                            }
                            ), t, null, [[7, 15]])
                        }
                        )));
                        return function(e, r) {
                            return t.apply(this, arguments)
                        }
                    }());
                    K[a] = {
                        properties: d,
                        request: m
                    }
                }
                var b = K[a];
                d.forEach((function(e) {
                    -1 === b.properties.indexOf(e) && b.properties.push(e)
                }
                )),
                y.push(b.request)
            }
            return Promise.all(y).then((function() {
                return t(Q[a].data, i)
            }
            ))
        }
    };
    function oe(e, t) {
        var r = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
            var n = Object.getOwnPropertySymbols(e);
            t && (n = n.filter((function(t) {
                return Object.getOwnPropertyDescriptor(e, t).enumerable
            }
            ))),
            r.push.apply(r, n)
        }
        return r
    }
    function ae(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = null != arguments[t] ? arguments[t] : {};
            t % 2 ? oe(Object(r), !0).forEach((function(t) {
                h()(e, t, r[t])
            }
            )) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : oe(Object(r)).forEach((function(t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
            }
            ))
        }
        return e
    }
    function ce(e, t) {
        var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : x.Prod
          , n = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : E.zh_CN;
        return t.__scm = "__scm",
        ne(ue.nativeFetchExactData, J, (function(e, t) {
            return ae(ae({}, e), t)
        }
        ))(e, t, r, n)
    }
    function ie(e, t, r) {
        var n = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : x.Prod
          , o = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : E.zh_CN;
        return ne(ue.nativeFetchDeliveryData, (function(e, t) {
            switch (e.shape) {
            case "Single":
                return J(e.data, t);
            case "List":
                return e.data.map((function(e) {
                    return J(e.data, t)
                }
                ));
            case "Tree":
                return function e(n) {
                    var o;
                    return o = n.children ? ae(ae({}, J(n.data, r || t)), {}, {
                        children: n.children.map(e)
                    }) : J(n.data, t),
                    n.scm && (o.__scm = n.scm),
                    o
                }(e.data)
            }
        }
        ), (function(e, t) {
            if (e.shape !== t.shape)
                throw new Error("");
            switch (e.shape) {
            case "Single":
                return {
                    shape: "Single",
                    data: ae(ae({}, e.data), t.data)
                };
            case "List":
                if (e.data.length !== t.data.length)
                    throw new Error("");
                return {
                    shape: "List",
                    data: e.data.map((function(e, r) {
                        return ae(ae({}, e), t.data[r])
                    }
                    ))
                };
            case "Tree":
                return t
            }
        }
        ))(e, t, n, o)
    }
    function ue(e) {
        var t = e.propertyMap
          , r = e.branchPropertyMap
          , n = e.query
          , o = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : x.Prod
          , a = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : E.zh_CN;
        switch (n.type) {
        case "exact":
            if (Array.isArray(n.params.ids)) {
                var c = n.params.ids.map((function(e) {
                    return ce(e, t || {}, o, a)
                }
                ));
                return c.some((function(e) {
                    return e instanceof Promise
                }
                )) ? Promise.all(c) : c
            }
            return ce(n.params.ids, t || {}, o, a);
        case "delivery":
            return ie(n.params.id, t || {}, r, o, a)
        }
    }
    ue.nativeFetchExactData = k,
    ue.nativeFetchDeliveryData = D;
    var se = ["children", "__schema", "__renderComponent", "__renderChildren", "__onRef"];
    function fe(e, t) {
        var r = {};
        if (e) {
            var n = {
                schema: e.__schema,
                renderComponent: e.__renderComponent,
                renderChildren: e.__renderChildren
            };
            Object.keys(e).forEach((function(o) {
                if (-1 === se.indexOf(o)) {
                    var a = pe(e[o], o, t, n);
                    void 0 !== a && (r[o] = a)
                } else
                    r[o] = e[o]
            }
            ))
        }
        return r
    }
    function pe(e) {
        var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : ""
          , r = arguments.length > 2 ? arguments[2] : void 0
          , n = arguments.length > 3 ? arguments[3] : void 0;
        if (e) {
            if (Array.isArray(e))
                return e.map((function(e, o) {
                    return pe(e, "".concat(t, "[").concat(o, "]"), r, n)
                }
                ));
            if ("object" === v()(e)) {
                if (e.__type)
                    return r.add(t, e.__type, e.value, n);
                var o = {};
                return Object.keys(e).forEach((function(a) {
                    var c = pe(e[a], t ? t + "." + a : a, r, n);
                    void 0 !== c && (o[a] = c)
                }
                )),
                o
            }
        }
        return e
    }
    var le = r(10)
      , de = r.n(le);
    function he(e, t) {
        var r = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
            var n = Object.getOwnPropertySymbols(e);
            t && (n = n.filter((function(t) {
                return Object.getOwnPropertyDescriptor(e, t).enumerable
            }
            ))),
            r.push.apply(r, n)
        }
        return r
    }
    function ye(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = null != arguments[t] ? arguments[t] : {};
            t % 2 ? he(Object(r), !0).forEach((function(t) {
                h()(e, t, r[t])
            }
            )) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : he(Object(r)).forEach((function(t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
            }
            ))
        }
        return e
    }
    function ve(e) {
        var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
        if (!e)
            return t;
        var r = {};
        return Object.keys(ye(ye({}, e), t)).forEach((function(n) {
            var o = e[n]
              , a = t[n];
            a ? o && a.isExport ? r[n] = {
                isRemove: "boolean" == typeof o.isRemove ? o.isRemove : a.isRemove,
                props: Y(a.props, o.props),
                slots: ye(ye({}, a.slots), o.slots)
            } : r[n] = a : r[n] = o
        }
        )),
        r
    }
    var me = ["exportId"], be, we;
    function ge(e, t) {
        var r = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
            var n = Object.getOwnPropertySymbols(e);
            t && (n = n.filter((function(t) {
                return Object.getOwnPropertyDescriptor(e, t).enumerable
            }
            ))),
            r.push.apply(r, n)
        }
        return r
    }
    function Oe(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = null != arguments[t] ? arguments[t] : {};
            t % 2 ? ge(Object(r), !0).forEach((function(t) {
                h()(e, t, r[t])
            }
            )) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : ge(Object(r)).forEach((function(t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
            }
            ))
        }
        return e
    }
    function je(e, t) {
        var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
        xe(e, t, {}, r)
    }
    function xe(e, t) {
        var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}
          , n = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {};
        if ("template" === e.type) {
            n.containTemplateNode && t.enter(e);
            var o = e.shadowChildren
              , a = e.props;
            if (a && Object.keys(a).forEach((function(e) {
                var o = a[e];
                o.slots && Object.keys(o.slots).forEach((function(e) {
                    o.slots[e] = o.slots[e].map((function(e) {
                        if ("node" === e.type) {
                            var o = e.node;
                            if (o.exportId) {
                                var a = r.templateProps ? r.templateProps[o.exportId] : null;
                                a && (e = {
                                    type: "node",
                                    node: Oe(Oe({}, o), {}, {
                                        props: Y(o.props, a.props)
                                    })
                                })
                            }
                            n.pathType === be.PhysicalTree && (t.enter(e.node),
                            xe(e.node, t, r, n))
                        }
                        return e
                    }
                    ))
                }
                ))
            }
            )),
            o && Array.isArray(o)) {
                var c = ve(r.templateProps, a);
                o.forEach((function(e) {
                    xe(e, t, {
                        templateProps: c
                    }, n)
                }
                ))
            }
        } else {
            var i = e
              , u = i.props
              , s = i.children
              , f = i.exportId
              , p = r.templateProps && f ? r.templateProps[f] : null;
            if (p) {
                if (null != p && p.isRemove)
                    return;
                if (u = Y(u, p.props),
                p.slots && p.slots.default && n.pathType !== be.PhysicalTree) {
                    var l = {};
                    s && Array.isArray(s) && s.forEach((function(e) {
                        e.id && (l[e.id] = e)
                    }
                    )),
                    s = p.slots.default.map((function(e) {
                        if ("node" === e.type) {
                            var t = e.node, r = t.exportId, n;
                            return de()(t, me)
                        }
                        if ("placeholder" === e.type)
                            return l[e.id]
                    }
                    )).filter((function(e) {
                        return !!e
                    }
                    ))
                }
            }
            t.enter(Oe(Oe({}, i), {}, {
                props: u,
                children: s
            })),
            n.pathType === be.PhysicalTree ? i.props && Object.keys(i.props).forEach((function(e) {
                Ee(i.props[e], t, r, n)
            }
            )) : u && Object.keys(u).forEach((function(e) {
                Ee(u[e], t, r, n)
            }
            )),
            s && Array.isArray(s) && s.forEach((function(e) {
                xe(e, t, r, n)
            }
            ))
        }
    }
    function Ee(e, t) {
        var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}
          , n = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {};
        Array.isArray(e) ? e.forEach((function(e) {
            Ee(e, t, r, n)
        }
        )) : e && "object" === v()(e) && ("slot" === e.__type && e.value ? Array.isArray(e.value) ? e.value.forEach((function(e) {
            xe(e, t, r, n)
        }
        )) : xe(e.value, t, r, n) : Object.keys(e).forEach((function(o) {
            Ee(e[o], t, r, n)
        }
        )))
    }
    function Pe(e, t) {
        return _e.apply(this, arguments)
    }
    function _e() {
        return (_e = o()(u.a.mark((function e(t, r) {
            var n, o;
            return u.a.wrap((function e(a) {
                for (; ; )
                    switch (a.prev = a.next) {
                    case 0:
                        if ("json" === t.type) {
                            a.next = 2;
                            break
                        }
                        throw new Error("\u6a21\u677f package \u5fc5\u987b\u662f json \u7c7b\u578b");
                    case 2:
                        return n = t.url + (-1 === t.url.indexOf("?") ? "?" : "&") + "env=" + r,
                        a.prev = 3,
                        a.next = 6,
                        j.get(n);
                    case 6:
                        return o = a.sent,
                        a.abrupt("return", o.data);
                    case 10:
                        throw a.prev = 10,
                        a.t0 = a.catch(3),
                        new Error("\u52a0\u8f7d\u6a21\u677f ".concat(n, " \u5931\u8d25"));
                    case 13:
                    case "end":
                        return a.stop()
                    }
            }
            ), e, null, [[3, 10]])
        }
        )))).apply(this, arguments)
    }
    function ke(e, t) {
        return Se.apply(this, arguments)
    }
    function Se() {
        return (Se = o()(u.a.mark((function e(t, r) {
            var n, o, a;
            return u.a.wrap((function e(i) {
                for (; ; )
                    switch (i.prev = i.next) {
                    case 0:
                        return n = c()(t.packages),
                        o = c()(t.components),
                        a = {},
                        i.next = 5,
                        De(n, o, a, t, r);
                    case 5:
                        return i.abrupt("return", {
                            packages: n,
                            components: o,
                            schema: t.schema
                        });
                    case 6:
                    case "end":
                        return i.stop()
                    }
            }
            ), e)
        }
        )))).apply(this, arguments)
    }
    function De(e, t, r, n) {
        return Ae.apply(this, arguments)
    }
    function Ae() {
        return (Ae = o()(u.a.mark((function e(t, r, n, a) {
            var c, i, s = arguments;
            return u.a.wrap((function e(f) {
                for (; ; )
                    switch (f.prev = f.next) {
                    case 0:
                        return c = s.length > 4 && void 0 !== s[4] ? s[4] : we.Prod,
                        i = a.components.filter((function(e) {
                            var t = e.componentType
                              , r = e.componentName;
                            return "template" === t && !n[r]
                        }
                        )).map(function() {
                            var e = o()(u.a.mark((function e(o) {
                                var i, s, f, p, l, d;
                                return u.a.wrap((function e(u) {
                                    for (; ; )
                                        switch (u.prev = u.next) {
                                        case 0:
                                            if (i = o.componentName,
                                            s = o.package,
                                            f = s.name,
                                            p = s.version,
                                            !(l = a.packages.find((function(e) {
                                                return e.name === f && (!p || e.version === p)
                                            }
                                            ))) || "json" !== l.type) {
                                                u.next = 12;
                                                break
                                            }
                                            return u.next = 6,
                                            ke.loadTemplate(l, c);
                                        case 6:
                                            return d = u.sent,
                                            n[i] = d.schema,
                                            d.packages.forEach((function(e) {
                                                t.find((function(t) {
                                                    var r = t.name
                                                      , n = t.version;
                                                    return e.name === r && e.version === n
                                                }
                                                )) || t.push(e)
                                            }
                                            )),
                                            d.components.forEach((function(e) {
                                                r.find((function(t) {
                                                    var r = t.componentName;
                                                    return e.componentName === r
                                                }
                                                )) || r.push(e)
                                            }
                                            )),
                                            u.next = 12,
                                            De(t, r, n, d, c);
                                        case 12:
                                        case "end":
                                            return u.stop()
                                        }
                                }
                                ), e)
                            }
                            )));
                            return function(t) {
                                return e.apply(this, arguments)
                            }
                        }()),
                        f.next = 4,
                        Promise.all(i);
                    case 4:
                        Te(a.schema, n);
                    case 5:
                    case "end":
                        return f.stop()
                    }
            }
            ), e)
        }
        )))).apply(this, arguments)
    }
    function Te(e, t) {
        var r = t[e.componentName];
        if (r)
            e.shadowChildren = [r];
        else {
            var n = e.children;
            n && Array.isArray(n) && n.forEach((function(e) {
                Te(e, t)
            }
            ))
        }
    }
    function Ce(e) {
        var t = [];
        return je(e, {
            enter: function e(r) {
                t = [].concat(c()(t), c()(Ie(r.props)))
            }
        }, {}),
        t
    }
    function Ie(e) {
        var t = [];
        return fe(e, {
            add: function e(r, n, o) {
                "model" === n && t.push(o)
            }
        }),
        t
    }
    !function(e) {
        e.LogicalTree = "logical-tree",
        e.PhysicalTree = "physical-tree"
    }(be || (be = {})),
    function(e) {
        e.Prod = "prod",
        e.Grey = "grey",
        e.Pre = "pre"
    }(we || (we = {})),
    ke.loadTemplate = Pe;
    var Ne = r(5), Me = r.n(Ne), Re = function e(t) {
        return crypto.getRandomValues(new Uint8Array(t))
    }, Le = function e(t, r, n) {
        var o = (2 << Math.log(t.length - 1) / Math.LN2) - 1
          , a = -~(1.6 * o * r / t.length);
        return function() {
            for (var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : r, c = ""; ; )
                for (var i = n(a), u = a; u--; )
                    if ((c += t[i[u] & o] || "").length === e)
                        return c
        }
    }, $e = function e(t) {
        var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 21;
        return Le(t, r, Re)
    }, Ue = function e() {
        var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 21;
        return crypto.getRandomValues(new Uint8Array(t)).reduce((function(e, t) {
            return e += (t &= 63) < 36 ? t.toString(36) : t < 62 ? (t - 26).toString(36).toUpperCase() : t > 62 ? "-" : "_"
        }
        ), "")
    }, qe;
    function Fe() {
        return qe || (qe = Ue()),
        qe
    }
    function Je(e) {
        return ze.apply(this, arguments)
    }
    function ze() {
        return (ze = o()(u.a.mark((function e(t) {
            var r, n, o, a, c;
            return u.a.wrap((function e(i) {
                for (; ; )
                    switch (i.prev = i.next) {
                    case 0:
                        return r = "https://www.aliyun.com/lowcode-static-service",
                        n = !1,
                        "object" === ("undefined" == typeof location ? "undefined" : v()(location)) && (r = location.href,
                        location.search && (o = {},
                        location.search.replace(/^\?/, "").split("&").forEach((function(e) {
                            var t = e.trim().split("=")
                              , r = Me()(t, 2)
                              , n = r[0]
                              , a = r[1];
                            o[n] = a
                        }
                        )),
                        o.isPreview && (n = !0))),
                        i.next = 5,
                        j.post("https://page.aliyun.com/delivery/plan/list?resourceId=".concat(t.join(",")), {
                            contentType: "form",
                            headers: {
                                Referer: r
                            },
                            includeCookie: !0,
                            body: {
                                adPlanQueryParam: JSON.stringify({
                                    adZone: {
                                        positionList: t.map((function(e) {
                                            var t = {
                                                positionId: e
                                            };
                                            return n && (t.preview = !0),
                                            t
                                        }
                                        ))
                                    },
                                    requestId: Fe(),
                                    referrer: r,
                                    returnAll: !1
                                })
                            }
                        });
                    case 5:
                        if (200 !== (a = i.sent).status) {
                            i.next = 10;
                            break
                        }
                        if ("200" !== a.data.code || !a.data.data.success) {
                            i.next = 10;
                            break
                        }
                        return c = a.data.data.positionPlanMap,
                        i.abrupt("return", t.map((function(e) {
                            var t = c[e];
                            return t ? ot(t) : (console.error("\u8d44\u6e90\u4f4d ".concat(e, " \u6570\u636e\u83b7\u53d6\u5931\u8d25")),
                            null)
                        }
                        )));
                    case 10:
                        throw new Error(a.data.msg);
                    case 11:
                    case "end":
                        return i.stop()
                    }
            }
            ), e)
        }
        )))).apply(this, arguments)
    }
    function Ge(e, t) {
        var r = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
            var n = Object.getOwnPropertySymbols(e);
            t && (n = n.filter((function(t) {
                return Object.getOwnPropertyDescriptor(e, t).enumerable
            }
            ))),
            r.push.apply(r, n)
        }
        return r
    }
    function Be(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = null != arguments[t] ? arguments[t] : {};
            t % 2 ? Ge(Object(r), !0).forEach((function(t) {
                h()(e, t, r[t])
            }
            )) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ge(Object(r)).forEach((function(t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
            }
            ))
        }
        return e
    }
    var He = {};
    function Ve() {
        return He
    }
    function Ye(e) {
        Object.keys(e).forEach((function(t) {
            He[t] = e[t]
        }
        ))
    }
    var We = {};
    function Xe() {
        We = {}
    }
    var Qe = new Map
      , Ze = null;
    function Ke(e) {
        var t = e.resourceId;
        return He[t]
    }
    function et(e) {
        return tt.apply(this, arguments)
    }
    function tt() {
        return (tt = o()(u.a.mark((function e(t) {
            var r, n = arguments;
            return u.a.wrap((function e(a) {
                for (; ; )
                    switch (a.prev = a.next) {
                    case 0:
                        if (r = !(n.length > 1 && void 0 !== n[1]) || n[1],
                        !We[t.resourceId]) {
                            a.next = 3;
                            break
                        }
                        return a.abrupt("return", Promise.resolve(We[t.resourceId]));
                    case 3:
                        if (!Qe.has(t.resourceId)) {
                            a.next = 7;
                            break
                        }
                        return a.next = 6,
                        Qe.get(t.resourceId);
                    case 6:
                        return a.abrupt("return", We[t.resourceId]);
                    case 7:
                        return Ze ? Ze.queries.find((function(e) {
                            var r = e.resourceId;
                            return t.resourceId === r
                        }
                        )) || Ze.queries.push(t) : Ze = {
                            queries: [t],
                            request: o()(u.a.mark((function e() {
                                var t, n, a;
                                return u.a.wrap((function e(c) {
                                    for (; ; )
                                        switch (c.prev = c.next) {
                                        case 0:
                                            return c.next = 2,
                                            Promise.resolve();
                                        case 2:
                                            if (Ze) {
                                                c.next = 4;
                                                break
                                            }
                                            throw new Error("");
                                        case 4:
                                            return t = Ze.queries,
                                            n = t.map((function(e) {
                                                var t;
                                                return e.resourceId
                                            }
                                            )),
                                            Ze = null,
                                            a = o()(u.a.mark((function e() {
                                                var a, c, i, s;
                                                return u.a.wrap((function e(f) {
                                                    for (; ; )
                                                        switch (f.prev = f.next) {
                                                        case 0:
                                                            return f.prev = 0,
                                                            f.next = 3,
                                                            et.nativeBatchFetchDeliveryData(n);
                                                        case 3:
                                                            if (a = f.sent) {
                                                                f.next = 6;
                                                                break
                                                            }
                                                            throw new Error("\u8bf7\u6c42\u8d44\u6e90\u4f4d ".concat(n, " \u6570\u636e\u9519\u8bef"));
                                                        case 6:
                                                            if (!(c = t.filter((function(e, t) {
                                                                var r = a[t];
                                                                if (r)
                                                                    We[e.resourceId] = at(r, e);
                                                                else if (!e.supportOffline)
                                                                    return !0;
                                                                return !1
                                                            }
                                                            ))).length) {
                                                                f.next = 17;
                                                                break
                                                            }
                                                            return i = c.map(function() {
                                                                var e = o()(u.a.mark((function e(t) {
                                                                    var r, n;
                                                                    return u.a.wrap((function e(o) {
                                                                        for (; ; )
                                                                            switch (o.prev = o.next) {
                                                                            case 0:
                                                                                return o.next = 2,
                                                                                rt(t.resourceId);
                                                                            case 2:
                                                                                r = o.sent,
                                                                                n = ot([r]),
                                                                                We[t.resourceId] = at(n, t);
                                                                            case 5:
                                                                            case "end":
                                                                                return o.stop()
                                                                            }
                                                                    }
                                                                    ), e)
                                                                }
                                                                )));
                                                                return function(t) {
                                                                    return e.apply(this, arguments)
                                                                }
                                                            }()),
                                                            f.prev = 9,
                                                            f.next = 12,
                                                            Promise.all(i);
                                                        case 12:
                                                            f.next = 17;
                                                            break;
                                                        case 14:
                                                            f.prev = 14,
                                                            f.t0 = f.catch(9),
                                                            console.log(f.t0);
                                                        case 17:
                                                            f.next = 31;
                                                            break;
                                                        case 19:
                                                            if (f.prev = 19,
                                                            f.t1 = f.catch(0),
                                                            !r) {
                                                                f.next = 31;
                                                                break
                                                            }
                                                            return s = t.map(function() {
                                                                var e = o()(u.a.mark((function e(t) {
                                                                    var r, n;
                                                                    return u.a.wrap((function e(o) {
                                                                        for (; ; )
                                                                            switch (o.prev = o.next) {
                                                                            case 0:
                                                                                return o.next = 2,
                                                                                rt(t.resourceId);
                                                                            case 2:
                                                                                r = o.sent,
                                                                                n = ot([r]),
                                                                                We[t.resourceId] = at(n, t);
                                                                            case 5:
                                                                            case "end":
                                                                                return o.stop()
                                                                            }
                                                                    }
                                                                    ), e)
                                                                }
                                                                )));
                                                                return function(t) {
                                                                    return e.apply(this, arguments)
                                                                }
                                                            }()),
                                                            f.prev = 23,
                                                            f.next = 26,
                                                            Promise.all(s);
                                                        case 26:
                                                            f.next = 31;
                                                            break;
                                                        case 28:
                                                            f.prev = 28,
                                                            f.t2 = f.catch(23),
                                                            console.log(f.t2);
                                                        case 31:
                                                        case "end":
                                                            return f.stop()
                                                        }
                                                }
                                                ), e, null, [[0, 19], [9, 14], [23, 28]])
                                            }
                                            )))(),
                                            n.forEach((function(e) {
                                                Qe.set(e, a)
                                            }
                                            )),
                                            c.next = 11,
                                            a;
                                        case 11:
                                            n.forEach((function(e) {
                                                Qe.delete(e)
                                            }
                                            ));
                                        case 12:
                                        case "end":
                                            return c.stop()
                                        }
                                }
                                ), e)
                            }
                            )))()
                        },
                        a.next = 10,
                        Ze.request;
                    case 10:
                        return a.abrupt("return", We[t.resourceId]);
                    case 11:
                    case "end":
                        return a.stop()
                    }
            }
            ), e)
        }
        )))).apply(this, arguments)
    }
    function rt(e) {
        return nt.apply(this, arguments)
    }
    function nt() {
        return (nt = o()(u.a.mark((function e(t) {
            var r, n, o, a;
            return u.a.wrap((function e(c) {
                for (; ; )
                    switch (c.prev = c.next) {
                    case 0:
                        return c.next = 2,
                        j.get("https://alioth.alicdn.com/adPlan-default-position-".concat(t));
                    case 2:
                        if (200 !== (r = c.sent).status) {
                            c.next = 6;
                            break
                        }
                        return n = r.data,
                        o = n.planId,
                        a = n.displayContent,
                        c.abrupt("return", {
                            planId: o,
                            defaultData: !0,
                            priority: 0,
                            displayContent: a
                        });
                    case 6:
                        throw new Error("");
                    case 7:
                    case "end":
                        return c.stop()
                    }
            }
            ), e)
        }
        )))).apply(this, arguments)
    }
    function ot(e) {
        var t;
        return e.map((function(e) {
            var t = e.planId, r = e.defaultData, n = e.priority, o = e.displayContent, a;
            return {
                planId: t,
                isDefaultData: r,
                priority: n,
                infoList: (("string" == typeof o ? JSON.parse(o) : o) || {}).infoList
            }
        }
        ))
    }
    function at(e, t) {
        var r = t.dataType, n = t.propertyMap, o;
        t.ignoreDefaultData && (e = e.filter((function(e) {
            return !e.isDefaultData
        }
        )));
        var a = (e = e.sort((function(e, t) {
            return t.priority - e.priority
        }
        )))[0];
        if (!a)
            return null;
        switch (r) {
        case "object":
            var c = (a.infoList || [])[0];
            if (!c)
                return;
            return Be(Be({}, J(c, n)), {}, {
                __scm: c.scm
            });
        case "array":
            return (a.infoList || []).map((function(e) {
                return Be(Be({}, J(e, n)), {}, {
                    __scm: e.scm
                })
            }
            ))
        }
    }
    function ct(e) {
        var t = [];
        return je(e, {
            enter: function e(r) {
                t = [].concat(c()(t), c()(it(r.props)))
            }
        }, {}),
        t
    }
    function it(e) {
        var t = [];
        return fe(e, {
            add: function e(r, n, o) {
                "delivery" === n && t.push(o)
            }
        }),
        t
    }
    et.nativeBatchFetchDeliveryData = Je;
    var ut = r(7)
      , st = r.n(ut)
      , ft = r(8)
      , pt = r.n(ft);
    function lt(e, t) {
        var r = "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
        if (!r) {
            if (Array.isArray(e) || (r = dt(e)) || t && e && "number" == typeof e.length) {
                r && (e = r);
                var n = 0
                  , o = function e() {};
                return {
                    s: o,
                    n: function t() {
                        return n >= e.length ? {
                            done: !0
                        } : {
                            done: !1,
                            value: e[n++]
                        }
                    },
                    e: function e(t) {
                        throw t
                    },
                    f: o
                }
            }
            throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
        }
        var a = !0, c = !1, i;
        return {
            s: function t() {
                r = r.call(e)
            },
            n: function e() {
                var t = r.next();
                return a = t.done,
                t
            },
            e: function e(t) {
                c = !0,
                i = t
            },
            f: function e() {
                try {
                    a || null == r.return || r.return()
                } finally {
                    if (c)
                        throw i
                }
            }
        }
    }
    function dt(e, t) {
        if (e) {
            if ("string" == typeof e)
                return ht(e, t);
            var r = Object.prototype.toString.call(e).slice(8, -1);
            return "Object" === r && e.constructor && (r = e.constructor.name),
            "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? ht(e, t) : void 0
        }
    }
    function ht(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var r = 0, n = new Array(t); r < t; r++)
            n[r] = e[r];
        return n
    }
    var yt, vt = new (function() {
        function e() {
            st()(this, e),
            h()(this, "componentTypes", void 0),
            this.componentTypes = []
        }
        return pt()(e, [{
            key: "register",
            value: function e(t) {
                this.componentTypes.push(t)
            }
        }, {
            key: "getAssets",
            value: function e(t) {
                var r;
                return []
            }
        }, {
            key: "getProvider",
            value: function e(t) {
                var r = this.componentTypes.map((function(e) {
                    var t;
                    return e.provider
                }
                )).filter((function(e) {
                    return !!e
                }
                ));
                return function(e) {
                    var t = e.children, n = lt(r), o;
                    try {
                        for (n.s(); !(o = n.n()).done; ) {
                            var a = o.value;
                            t = Object(p.createElement)(a, null, t)
                        }
                    } catch (e) {
                        n.e(e)
                    } finally {
                        n.f()
                    }
                    return t || null
                }
            }
        }, {
            key: "buildComponents",
            value: function e(t, r) {
                var n = this
                  , o = {};
                return Object.keys(t).forEach((function(e) {
                    var a = t[e]
                      , c = n.componentTypes.filter((function(e) {
                        var t = e.test
                          , r = e.componentFactory;
                        return t(a) && r
                    }
                    )).map((function(e) {
                        var t;
                        return e.componentFactory
                    }
                    ));
                    if (c.length)
                        o[e] = c.reduce((function(e, t) {
                            return t(a, r, e)
                        }
                        ), void 0);
                    else {
                        var i = a.package.name, u = r[i], s = window[u], f;
                        a.package.destructuring ? a.package.exportName && (f = s[a.package.exportName]) : f = s,
                        f && (a.package.subName ? o[e] = f[a.package.subName] : o[e] = f)
                    }
                }
                )),
                o
            }
        }]),
        e
    }()), mt, bt, wt, gt;
    function Ot(e) {
        return e && "i18n" === e.type
    }
    function jt(e) {
        return e && "object" == typeof e
    }
    function xt(e) {
        return "package"in e
    }
    function Et(e) {
        return !xt(e)
    }
    function Pt(e) {
        return "string" == typeof e
    }
    function _t(e) {
        return e && e.componentName
    }
    function kt(e) {
        return e && e.componentsTree
    }
    function St(e) {
        if ("object" != typeof e)
            return !1;
        var t = Object.getPrototypeOf(e);
        return t === Object.prototype || null === t || null === Object.getPrototypeOf(t)
    }
    function Dt(e) {
        return St(e) && !Ot(e)
    }
    function At(e) {
        return e && "JSExpression" === e.type
    }
    function Tt(e) {
        return "object" == typeof e && e && "JSFunction" === e.type
    }
    function Ct(e) {
        return e && "JSSlot" === e.type
    }
    function It(e) {
        return e && "JSBlock" === e.type
    }
    function Nt(e) {
        return e && e.prototype && (e.prototype.isReactComponent || e.prototype instanceof p.Component)
    }
    function Mt(e) {
        return e && (Nt(e) || "function" == typeof e)
    }
    function Rt(e) {
        return e && "object" == typeof e && "componentName"in e && !Lt(e)
    }
    function Lt(e) {
        return e && (Object(p.isValidElement)(e) || Mt(e))
    }
    function $t(e) {
        return e && "function" == typeof e && !Nt(e)
    }
    !function(e) {
        e.Initial = "init",
        e.Loading = "loading",
        e.Loaded = "loaded",
        e.Error = "error"
    }(mt || (mt = {})),
    function(e) {
        e.ADDED = "added",
        e.DELETED = "deleted",
        e.MODIFIED = "modified",
        e.COMPOSITE = "composite"
    }(bt || (bt = {})),
    function(e) {
        e.Render = "render",
        e.Serilize = "serilize",
        e.Save = "save",
        e.Clone = "clone",
        e.Init = "init",
        e.Upgrade = "upgrade"
    }(wt || (wt = {})),
    function(e) {
        e[e.Environment = 1] = "Environment",
        e[e.Library = 2] = "Library",
        e[e.Theme = 3] = "Theme",
        e[e.Runtime = 4] = "Runtime",
        e[e.Components = 5] = "Components",
        e[e.App = 6] = "App"
    }(gt || (gt = {}));
    var Ut = [gt.Environment, gt.Library, gt.Theme, gt.Runtime, gt.Components, gt.App], qt;
    !function(e) {
        e.JSUrl = "jsUrl",
        e.CSSUrl = "cssUrl",
        e.CSSText = "cssText",
        e.JSText = "jsText",
        e.Bundle = "bundle"
    }(qt || (qt = {}));
    var Ft = "node.prop.change", Jt = "node.innerProp.change", zt = "node.edit.rerender.time", Gt = [{
        type: qt.CSSUrl,
        content: "https://at.alicdn.com/t/font_1175572_qt0ubitzjhl.css",
        level: gt.Library
    }, {
        type: qt.JSText,
        content: "\n        window.__ALIYUN_EXPERIENCE_REACT__ = window.React;\n        window.__ALIYUN_EXPERIENCE_REACT_DOM__ = window.ReactDOM;\n      ".trim(),
        level: gt.Library
    }, {
        type: qt.JSUrl,
        content: "https://g.alicdn.com/??dawn/polyfill/2.0.0/js/index.js,aliyun/util/1.2.30/index.js,dawn/ace-element/0.0.60/index.js,dawn/user-tracker/2.0.59/js/index.js",
        level: gt.Library
    }], Bt = r(20), Ht = r.n(Bt), Vt = r(11), Yt = r.n(Vt), Wt = r(12), Xt = r.n(Wt), Qt = r(9), Zt = r.n(Qt), Kt;
    function er(e) {
        e = e || Object.create(null);
        var t = Object.create(null);
        return {
            on: function r(n, o) {
                var a = this;
                (e[n] || (e[n] = [])).push(o),
                t[n] && t[n].splice(0).forEach((function(e) {
                    return a.emit(n, e)
                }
                ))
            },
            off: function t(r, n) {
                e[r] && e[r].splice(e[r].indexOf(n) >>> 0, 1)
            },
            cacheEmit: function e(r, n) {
                (t[r] || (t[r] = [])).push(n)
            },
            emit: function t(r, n) {
                e[r] ? (e[r] || []).slice().map((function(e) {
                    e(n)
                }
                )) : this.cacheEmit(r, n),
                (e["*"] || []).slice().map((function(e) {
                    e(r, n)
                }
                ))
            }
        }
    }
    function tr(e, t) {
        var r = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
            var n = Object.getOwnPropertySymbols(e);
            t && (n = n.filter((function(t) {
                return Object.getOwnPropertyDescriptor(e, t).enumerable
            }
            ))),
            r.push.apply(r, n)
        }
        return r
    }
    function rr(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = null != arguments[t] ? arguments[t] : {};
            t % 2 ? tr(Object(r), !0).forEach((function(t) {
                h()(e, t, r[t])
            }
            )) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : tr(Object(r)).forEach((function(t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
            }
            ))
        }
        return e
    }
    function nr(e) {
        var t = or();
        return function r() {
            var n = Zt()(e), o;
            if (t) {
                var a = Zt()(this).constructor;
                o = Reflect.construct(n, arguments, a)
            } else
                o = n.apply(this, arguments);
            return Xt()(this, o)
        }
    }
    function or() {
        if ("undefined" == typeof Reflect || !Reflect.construct)
            return !1;
        if (Reflect.construct.sham)
            return !1;
        if ("function" == typeof Proxy)
            return !0;
        try {
            return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() {}
            ))),
            !0
        } catch (e) {
            return !1
        }
    }
    function ar(e) {
        return e && e.prototype && (e.prototype.isReactComponent || e.prototype instanceof l.a.Component)
    }
    function cr(e) {
        var t = e.package.exportName
          , r = window.$ACE_COMPONENT[t];
        if (!ar(r))
            return r;
        var n = window.$ACE_COMPONENT_SERVICES[t];
        return ur({
            name: e.componentName,
            Component: r,
            Service: n
        })
    }
    var ir = {
        event: er()
    };
    function ur(e) {
        var t = e.name
          , r = e.Component
          , n = e.Service
          , o = pt()((function e() {
            st()(this, e)
        }
        ));
        h()(o, "Account", window.$ACE.Account),
        h()(o, "URL", window.$ACE.URL),
        h()(o, "Risk", window.$ACE.Risk),
        h()(o, "Time", window.$ACE.Time),
        h()(o, "Client", window.$ACE.Client),
        h()(o, "Tracker", window.$ACE.Tracker),
        h()(o, "Logger", window.$ACE.Logger),
        h()(o, "Store", window.$ACE.Store);
        var a = function(e) {
            Yt()(r, e);
            var t = nr(r);
            function r(e) {
                var a;
                st()(this, r),
                a = t.call(this, e);
                var c = rr(rr({}, ir), {}, {
                    moduleInstance: {
                        spm: ""
                    },
                    pageSchema: {
                        props: e
                    }
                });
                return a.app = c,
                n && (Object.assign(n.prototype, {
                    get: window.$ACE.get,
                    app: c,
                    helper: o,
                    logger: window.$ACE.Logger,
                    request: window.$ACE.Request
                }),
                a.services = new n),
                a.helper = o,
                a.logger = window.$ACE.Logger,
                a.request = window.$ACE.Request,
                a
            }
            return pt()(r, [{
                key: "render",
                value: function e() {
                    return Ht()(Zt()(r.prototype), "render", this).call(this) || null
                }
            }]),
            r
        }(r);
        return h()(a, "displayName", t),
        function(e) {
            return l.a.createElement(a, rr({
                _theme: sr
            }, e))
        }
    }
    var sr = {
        t1: "#fff",
        t2: "#f4f4f4",
        t3: "#ededed",
        t4: "#d8d8d8",
        t5: "#b3b3b3",
        t6: "#999",
        t7: "#666",
        t8: "#3d3d3d",
        t9: "#181818",
        title: "\u963f\u91cc\u4e91\u5b98\u7f51\u767d\u6a59\u4e3b\u9898",
        mode: "light",
        scene: "channel",
        c1: "#ff6a00",
        l1: "#fff0e5",
        l2: "#ffe1cc",
        l3: "#ffb580",
        l4: "#ff8833",
        d1: "#cc5500",
        d2: "#994000",
        d3: "#662a00",
        d4: "#4d2000"
    }, fr, pr = {
        test: function e(t) {
            return "homon" === t.componentType
        },
        assets: Gt,
        componentFactory: cr
    }, lr = Object(p.createContext)({
        base: ""
    });
    function dr(e) {
        return l.a.createElement(lr.Provider, {
            value: {
                base: e.basePath || window.$BASE_URL || ""
            }
        }, e.children)
    }
    var hr = ["children"];
    function yr(e, t) {
        var r = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
            var n = Object.getOwnPropertySymbols(e);
            t && (n = n.filter((function(t) {
                return Object.getOwnPropertyDescriptor(e, t).enumerable
            }
            ))),
            r.push.apply(r, n)
        }
        return r
    }
    function vr(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = null != arguments[t] ? arguments[t] : {};
            t % 2 ? yr(Object(r), !0).forEach((function(t) {
                h()(e, t, r[t])
            }
            )) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : yr(Object(r)).forEach((function(t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
            }
            ))
        }
        return e
    }
    function mr(e, t, r) {
        if (!r)
            throw new Error("");
        var n = gr(e.props), o;
        return n ? function(e) {
            var t = e.children
              , a = de()(e, hr);
            return l.a.createElement(lr.Consumer, null, wr((function(e, c) {
                var i;
                return l.a.createElement(r, vr({}, vr(vr({}, a), {}, (i = {},
                h()(i, n.name, n.map ? n.map[e || "$"] : e),
                h()(i, "on".concat(n.name.replace(/^\w/, (function(e) {
                    return e.toUpperCase()
                }
                )), "Change"), (function e(t) {
                    n.map ? (o || (o = new Map,
                    Object.keys(n.map).forEach((function(e) {
                        o.set(n.map[e], "$" === e ? "" : e)
                    }
                    ))),
                    c(o.get(t))) : c(t)
                }
                )),
                i))), t)
            }
            )))
        }
        : r
    }
    function br(e) {
        var t = e.base
          , r = e.render
          , n = Object(p.useState)(location.pathname.replace(t, "").replace(/^\/+/, "").split("/")[0])
          , o = Me()(n, 2)
          , a = o[0]
          , c = o[1];
        return Object(p.useEffect)((function() {
            var e = function e() {
                var r = location.pathname.replace(t, "").replace(/^\/+/, "").split("/")[0];
                c(r)
            };
            return window.addEventListener("popstate", e),
            function() {
                window.removeEventListener("popstate", e)
            }
        }
        ), [t]),
        l.a.createElement(lr.Provider, {
            value: {
                base: a ? (t + "/" + a).replace(/\/+/g, "/") : t
            }
        }, l.a.createElement("div", {
            "data-base-url": JSON.stringify(t)
        }, r(a, (function(e) {
            history.pushState({}, "", e ? (t + "/" + e).replace(/\/+/g, "/") : t || "/"),
            c(e)
        }
        ))))
    }
    function wr(e) {
        return function(t) {
            var r = t.base;
            return l.a.createElement(br, {
                base: r,
                render: e
            })
        }
    }
    function gr(e) {
        if (!e)
            return null;
        var t = Object.keys(e).find((function(t) {
            var r;
            return "route" === e[t]["x-format"]
        }
        ));
        if (t) {
            var r = e[t]["x-format-options"], n;
            return r && (n = r.map),
            {
                name: t,
                map: n
            }
        }
        return null
    }
    var Or, jr = {
        test: function e(t) {
            return Object.keys(t.props || {}).some((function(e) {
                var r;
                return "route" === t.props[e]["x-format"]
            }
            ))
        },
        componentFactory: mr
    };
    function xr(e, t) {
        var r = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
            var n = Object.getOwnPropertySymbols(e);
            t && (n = n.filter((function(t) {
                return Object.getOwnPropertyDescriptor(e, t).enumerable
            }
            ))),
            r.push.apply(r, n)
        }
        return r
    }
    function Er(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = null != arguments[t] ? arguments[t] : {};
            t % 2 ? xr(Object(r), !0).forEach((function(t) {
                h()(e, t, r[t])
            }
            )) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : xr(Object(r)).forEach((function(t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
            }
            ))
        }
        return e
    }
    var Pr = new Map
      , _r = function() {
        function e() {
            st()(this, e),
            h()(this, "dataTypeProcessorInfos", void 0),
            this.dataTypeProcessorInfos = []
        }
        return pt()(e, [{
            key: "add",
            value: function e(t, r, n, o) {
                if (Pr.has(r)) {
                    var a = Pr.get(r);
                    this.dataTypeProcessorInfos.push({
                        type: r,
                        path: t,
                        HOC: a,
                        dataSchema: n,
                        context: o
                    })
                }
            }
        }], [{
            key: "register",
            value: function e(t, r) {
                Pr.set(t, r)
            }
        }]),
        e
    }()
      , kr = Object(p.createContext)({
        parsedDataTypePropMap: {}
    })
      , Sr = function() {
        function e() {
            st()(this, e),
            h()(this, "parsedDataTypePropMap", void 0),
            h()(this, "listeners", void 0),
            this.parsedDataTypePropMap = {},
            this.listeners = []
        }
        return pt()(e, [{
            key: "set",
            value: function e(t, r) {
                r !== this.parsedDataTypePropMap[t] && (this.parsedDataTypePropMap = Er(Er({}, this.parsedDataTypePropMap), {}, h()({}, t, r)),
                this.emit())
            }
        }, {
            key: "on",
            value: function e(t) {
                this.listeners.push(t)
            }
        }, {
            key: "off",
            value: function e(t) {
                var r = this.listeners.indexOf(t);
                -1 !== r && this.listeners.splice(r, 1)
            }
        }, {
            key: "emit",
            value: function e() {
                this.listeners.forEach((function(e) {
                    return e()
                }
                ))
            }
        }]),
        e
    }()
      , Dr = function e(t) {
        var r = t.parsedDataTypePropManager
          , n = t.children
          , o = Object(p.useState)(r.parsedDataTypePropMap)
          , a = Me()(o, 2)
          , c = a[0]
          , i = a[1]
          , u = Object(p.useState)(!0)
          , s = Me()(u, 2)
          , f = s[0]
          , d = s[1];
        return Object(p.useEffect)((function() {
            f ? d(!1) : i(r.parsedDataTypePropMap);
            var e = function e() {
                i(r.parsedDataTypePropMap)
            };
            return r.on(e),
            function() {
                r.off(e)
            }
        }
        ), [r]),
        l.a.createElement(kr.Provider, {
            value: {
                parsedDataTypePropMap: c
            }
        }, n)
    }
      , Ar = Object(p.memo)((function e(t) {
        var r = t.dataTypeProcessorInfos
          , n = t.children
          , o = new Sr;
        return l.a.createElement(l.a.Fragment, null, r.map((function(e) {
            var t = e.type
              , r = e.path
              , n = e.dataSchema
              , a = e.HOC
              , c = e.context
              , i = function e(t) {
                var n = t.value;
                return o.set(r, n),
                null
            };
            return l.a.createElement(a, {
                dataSchema: n,
                context: Er(Er({}, c), {}, {
                    path: r
                }),
                Component: i
            })
        }
        )), l.a.createElement(Dr, {
            parsedDataTypePropManager: o
        }, n))
    }
    ));
    function Tr(e, t) {
        var r = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
            var n = Object.getOwnPropertySymbols(e);
            t && (n = n.filter((function(t) {
                return Object.getOwnPropertyDescriptor(e, t).enumerable
            }
            ))),
            r.push.apply(r, n)
        }
        return r
    }
    function Cr(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = null != arguments[t] ? arguments[t] : {};
            t % 2 ? Tr(Object(r), !0).forEach((function(t) {
                h()(e, t, r[t])
            }
            )) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Tr(Object(r)).forEach((function(t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
            }
            ))
        }
        return e
    }
    var Ir = Symbol("wrapped");
    function Nr(e) {
        var t = new _r, r;
        return {
            staticProps: fe(e, t),
            dataTypeProcessorInfos: t.dataTypeProcessorInfos
        }
    }
    var Mr = function(e) {
        if (e[Ir])
            return e;
        var t = Object(p.forwardRef)((function(t, r) {
            var n = Object(p.useState)((function() {
                return Nr(t)
            }
            )), o = Me()(n, 2), a = o[0], c = o[1], i = Object(p.useState)(t), u = Me()(i, 2), s = u[0], f = u[1], d;
            Object.keys(Cr(Cr({}, t), s)).some((function(e) {
                return t[e] !== s[e]
            }
            )) && (f(t),
            c(Nr(t)));
            return l.a.createElement(Ar, {
                dataTypeProcessorInfos: a.dataTypeProcessorInfos
            }, l.a.createElement(kr.Consumer, null, (function(n) {
                var o = n.parsedDataTypePropMap
                  , c = {};
                Object.keys(o).forEach((function(e) {
                    U(c, e, o[e])
                }
                ));
                var i = Y(a.staticProps, c);
                return l.a.createElement(e, Cr(Cr({}, i), {}, {
                    ref: r
                }), t.children)
            }
            )))
        }
        ));
        return t[Ir] = !0,
        t
    };
    "object" === ("undefined" == typeof window ? "undefined" : v()(window)) && window.$MODEL_DATA && re(window.$MODEL_DATA);
    var Rr = Object(p.memo)((function(e) {
        var t = e.dataSchema
          , r = e.Component
          , n = Object(p.useState)((function() {
            return ue(t)
        }
        ))
          , o = Me()(n, 2)
          , a = o[0]
          , c = o[1]
          , i = Object(p.useState)((function() {
            return a instanceof Promise ? void 0 : a
        }
        ))
          , u = Me()(i, 2)
          , s = u[0]
          , f = u[1];
        return Object(p.useEffect)((function() {
            var e = ue(t);
            e instanceof Promise ? c(e) : f(e)
        }
        ), [t]),
        Object(p.useEffect)((function() {
            a instanceof Promise && a.then((function(e) {
                f(e)
            }
            ))
        }
        ), [a]),
        l.a.createElement(r, {
            value: s
        })
    }
    ));
    "object" === ("undefined" == typeof window ? "undefined" : v()(window)) && window.$DELIVERY_DATA && Ye(window.$DELIVERY_DATA);
    var Lr = Object(p.memo)((function(e) {
        var t = e.dataSchema
          , r = e.Component
          , n = Object(p.useState)(Ke(t))
          , o = Me()(n, 2)
          , a = o[0]
          , c = o[1];
        return Object(p.useEffect)((function() {
            var e = null
              , r = "";
            window.biu && (e = window.biu.require("@ali/aliyun-com-storage"),
            r = "delivery-resource:" + t.resourceId);
            var n = !1;
            if (t.cache && e) {
                var o = e.get(r);
                o && (n = !0,
                Promise.resolve().then((function() {
                    c(o)
                }
                )))
            }
            et(t).then((function(o) {
                t.cache && e && e.set(r, o),
                n || c(o)
            }
            ))
        }
        ), [t.resourceId]),
        l.a.createElement(r, {
            value: a
        })
    }
    ));
    function $r(e) {
        var t = [];
        return je(e, {
            enter: function e(r) {
                t = [].concat(c()(t), c()(Ur(r.props)))
            }
        }, {}),
        t
    }
    function Ur(e) {
        var t = [];
        return fe(e, {
            add: function e(r, n, o) {
                "query" === n && t.push(o)
            }
        }),
        t
    }
    var qr = function() {
        function e() {
            st()(this, e),
            h()(this, "listeners", void 0),
            this.listeners = {}
        }
        return pt()(e, [{
            key: "on",
            value: function e(t, r) {
                this.listeners[t] || (this.listeners[t] = []),
                -1 === this.listeners[t].indexOf(r) && this.listeners[t].push(r)
            }
        }, {
            key: "off",
            value: function e(t, r) {
                if (this.listeners[t]) {
                    var n = this.listeners[t].indexOf(r);
                    -1 !== n && this.listeners[t].splice(n, 1)
                }
            }
        }, {
            key: "emit",
            value: function e(t, r) {
                var n = this;
                this.listeners[t] && this.listeners[t].forEach((function(e) {
                    e.call(n, r)
                }
                ))
            }
        }, {
            key: "push",
            value: function e(t) {}
        }, {
            key: "replace",
            value: function e(t) {}
        }, {
            key: "goBack",
            value: function e() {}
        }, {
            key: "goForward",
            value: function e() {}
        }]),
        e
    }()
      , Fr = function() {
        function e() {
            st()(this, e),
            h()(this, "listeners", void 0),
            this.listeners = {}
        }
        return pt()(e, [{
            key: "on",
            value: function e(t, r) {
                this.listeners[t] || (this.listeners[t] = []),
                -1 === this.listeners[t].indexOf(r) && this.listeners[t].push(r)
            }
        }, {
            key: "off",
            value: function e(t, r) {
                if (this.listeners[t]) {
                    var n = this.listeners[t].indexOf(r);
                    -1 !== n && this.listeners[t].splice(n, 1)
                }
            }
        }, {
            key: "emit",
            value: function e(t, r) {
                var n = this;
                this.listeners[t] && this.listeners[t].forEach((function(e) {
                    e.call(n, r)
                }
                ))
            }
        }]),
        e
    }()
      , Jr = new qr
      , zr = new Fr
      , Gr = Object(p.memo)((function(e) {
        var t = e.dataSchema
          , r = e.Component
          , n = new URLSearchParams(location.search)
          , o = Object(p.useState)(n.get(t.name))
          , a = Me()(o, 2)
          , c = a[0]
          , i = a[1];
        return Object(p.useEffect)((function() {
            function e() {
                var e, r = new URLSearchParams(location.search).get(t.name);
                i(r)
            }
            return zr.on("change", e),
            function() {
                zr.off("change", e)
            }
        }
        ), [t.name]),
        l.a.createElement(r, {
            value: c
        })
    }
    ))
      , Br = Object(p.memo)((function(e) {
        var t = e.dataSchema
          , r = e.context
          , n = e.Component;
        return l.a.createElement(n, {
            value: r.renderComponent(t, {
                path: r.path
            })
        })
    }
    ))
      , Hr = {}
      , Vr = Object(p.memo)((function(e) {
        var t = e.dataSchema
          , r = e.Component
          , n = Object(p.useState)()
          , a = Me()(n, 2)
          , c = a[0]
          , i = a[1];
        return Object(p.useEffect)((function() {
            Hr[t.id] || (Hr[t.id] = new Promise(function() {
                var e = o()(u.a.mark((function e(r, n) {
                    var o, a, c;
                    return u.a.wrap((function e(n) {
                        for (; ; )
                            switch (n.prev = n.next) {
                            case 0:
                                return n.next = 2,
                                j.get("https://cloud-assets.alicdn.com/lowcode/chunk/".concat(t.id));
                            case 2:
                                (o = n.sent).data.modelDatas && re(o.data.modelDatas),
                                a = new _r,
                                c = fe({
                                    value: o.data.props
                                }, a),
                                r({
                                    staticProps: c,
                                    dataTypeProcessorInfos: a.dataTypeProcessorInfos
                                });
                            case 7:
                            case "end":
                                return n.stop()
                            }
                    }
                    ), e)
                }
                )));
                return function(t, r) {
                    return e.apply(this, arguments)
                }
            }())),
            Hr[t.id].then(i)
        }
        ), []),
        l.a.createElement(Ar, {
            dataTypeProcessorInfos: c ? c.dataTypeProcessorInfos : []
        }, l.a.createElement(kr.Consumer, null, (function(e) {
            var t = e.parsedDataTypePropMap;
            if (!c)
                return l.a.createElement(r, {
                    value: void 0
                });
            var n = {};
            Object.keys(t).forEach((function(e) {
                U(n, e, t[e])
            }
            ));
            var o = Y(c.staticProps, n);
            return l.a.createElement(r, {
                value: o.value
            })
        }
        )))
    }
    ))
      , Yr = Object(p.memo)((function(e) {
        var t = e.dataSchema
          , r = e.Component
          , n = Object(p.useState)()
          , o = Me()(n, 2)
          , a = o[0]
          , c = o[1];
        return Object(p.useEffect)((function() {
            var e = {
                value: t
            }
              , r = new _r
              , n = fe(e, r);
            c({
                staticProps: n,
                dataTypeProcessorInfos: r.dataTypeProcessorInfos
            })
        }
        ), [t]),
        l.a.createElement(Ar, {
            dataTypeProcessorInfos: a ? a.dataTypeProcessorInfos : []
        }, l.a.createElement(kr.Consumer, null, (function(e) {
            var t = e.parsedDataTypePropMap;
            if (!a)
                return l.a.createElement(r, {
                    value: void 0
                });
            var n = {};
            Object.keys(t).forEach((function(e) {
                U(n, e, t[e])
            }
            ));
            var o = Y(a.staticProps, n);
            return l.a.createElement(r, {
                value: o.value
            })
        }
        )))
    }
    ))
      , Wr = Object(p.createContext)({
        language: E.zh_CN
    })
      , Xr = Wr.Provider
      , Qr = Object(p.memo)((function e(t) {
        var r = t.dataSchema
          , n = t.Component;
        return l.a.createElement(Wr.Consumer, null, (function(e) {
            var t = e.language
              , o = void 0 === t ? E.zh_CN : t;
            return l.a.createElement(n, {
                value: r ? r[o] : void 0
            })
        }
        ))
    }
    ))
      , Zr = r(16)
      , Kr = r.n(Zr)
      , en = ["__schema", "__renderChildren", "children"];
    function tn(e, t) {
        var r = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
            var n = Object.getOwnPropertySymbols(e);
            t && (n = n.filter((function(t) {
                return Object.getOwnPropertyDescriptor(e, t).enumerable
            }
            ))),
            r.push.apply(r, n)
        }
        return r
    }
    function rn(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = null != arguments[t] ? arguments[t] : {};
            t % 2 ? tn(Object(r), !0).forEach((function(t) {
                h()(e, t, r[t])
            }
            )) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : tn(Object(r)).forEach((function(t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
            }
            ))
        }
        return e
    }
    function nn(e) {
        var t = on();
        return function r() {
            var n = Zt()(e), o;
            if (t) {
                var a = Zt()(this).constructor;
                o = Reflect.construct(n, arguments, a)
            } else
                o = n.apply(this, arguments);
            return Xt()(this, o)
        }
    }
    function on() {
        if ("undefined" == typeof Reflect || !Reflect.construct)
            return !1;
        if (Reflect.construct.sham)
            return !1;
        if ("function" == typeof Proxy)
            return !0;
        try {
            return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() {}
            ))),
            !0
        } catch (e) {
            return !1
        }
    }
    var an = function(e) {
        Yt()(r, e);
        var t = nn(r);
        function r() {
            var e;
            st()(this, r);
            for (var n = arguments.length, o = new Array(n), a = 0; a < n; a++)
                o[a] = arguments[a];
            return e = t.call.apply(t, [this].concat(o)),
            h()(Kr()(e), "state", {
                isError: !1
            }),
            e
        }
        return pt()(r, [{
            key: "componentDidCatch",
            value: function e(t, r) {
                console.error("\u7ec4\u4ef6 ".concat(this.props.schema.componentName, " \u6e32\u67d3\u62a5\u9519, props:"), this.props.schema),
                this.setState({
                    isError: !0
                })
            }
        }, {
            key: "render",
            value: function e() {
                return this.state.isError ? null : this.props.children
            }
        }]),
        r
    }(p.Component);
    function cn(e) {
        return Object(p.forwardRef)((function(t, r) {
            var n = t.__schema
              , o = t.__renderChildren
              , a = t.children
              , c = de()(t, en);
            return l.a.createElement(an, {
                schema: n
            }, l.a.createElement(e, rn(rn({}, c), {}, {
                ref: r
            }), a))
        }
        ))
    }
    var un = ["__schema", "children"];
    function sn(e, t) {
        var r = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
            var n = Object.getOwnPropertySymbols(e);
            t && (n = n.filter((function(t) {
                return Object.getOwnPropertyDescriptor(e, t).enumerable
            }
            ))),
            r.push.apply(r, n)
        }
        return r
    }
    function fn(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = null != arguments[t] ? arguments[t] : {};
            t % 2 ? sn(Object(r), !0).forEach((function(t) {
                h()(e, t, r[t])
            }
            )) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : sn(Object(r)).forEach((function(t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
            }
            ))
        }
        return e
    }
    function pn(e) {
        return Object(p.forwardRef)((function(t, r) {
            var n = t.__schema
              , o = t.children
              , a = de()(t, un);
            return l.a.createElement(e, fn(fn({
                __schema: n
            }, a), {}, {
                ref: o && p.Children.count(o) > 0 || !n.id ? r : function(e) {
                    if (e) {
                        var t = vn(e);
                        t && t.forEach((function(e) {
                            e && e.nodeType === Node.ELEMENT_NODE && (e.setAttribute("data-homon-module", ""),
                            e.setAttribute("data-module-id", n.id),
                            e.setAttribute("data-module-name", n.componentName),
                            e.setAttribute("data-spm", "J_".concat(n.id)))
                        }
                        ))
                    }
                    r && "function" == typeof r && r(e)
                }
            }), o)
        }
        ))
    }
    function ln(e) {
        return !!e && e.nodeType === Node.ELEMENT_NODE
    }
    function dn(e) {
        return e.nodeType && (e.nodeType === Node.ELEMENT_NODE || e.nodeType === Node.TEXT_NODE)
    }
    var hn = "_reactInternalFiber";
    function yn(e, t) {
        e && (e.stateNode && dn(e.stateNode) ? t.push(e.stateNode) : e.child && yn(e.child, t),
        e.sibling && yn(e.sibling, t))
    }
    function vn(e) {
        if (!e)
            return null;
        if (ln(e))
            return [e];
        var t = []
          , r = e[hn];
        if (yn(null == r ? void 0 : r.child, t),
        t.length > 0)
            return t;
        try {
            return [Object(s.findDOMNode)(e)]
        } catch (e) {
            return null
        }
    }
    function mn(e) {
        var t = bn();
        return function r() {
            var n = Zt()(e), o;
            if (t) {
                var a = Zt()(this).constructor;
                o = Reflect.construct(n, arguments, a)
            } else
                o = n.apply(this, arguments);
            return Xt()(this, o)
        }
    }
    function bn() {
        if ("undefined" == typeof Reflect || !Reflect.construct)
            return !1;
        if (Reflect.construct.sham)
            return !1;
        if ("function" == typeof Proxy)
            return !0;
        try {
            return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() {}
            ))),
            !0
        } catch (e) {
            return !1
        }
    }
    var wn = "function" == typeof Symbol && Symbol.for
      , gn = wn ? Symbol.for("react.forward_ref") : 60112
      , On = wn ? Symbol.for("react.memo") : 60115;
    function jn(e) {
        return e && e.prototype && (e.prototype.isReactComponent || e.prototype instanceof p.Component)
    }
    function xn(e) {
        var t;
        return (null == e || null === (t = e.prototype) || void 0 === t ? void 0 : t.isReactComponent) || e.$$typeof && e.$$typeof === gn
    }
    function En(e) {
        return (null == e ? void 0 : e.$$typeof) && (null == e ? void 0 : e.$$typeof) === gn
    }
    function Pn(e) {
        return (null == e ? void 0 : e.$$typeof) && (null == e ? void 0 : e.$$typeof) === On
    }
    function _n(e) {
        return e && (jn(e) || "function" == typeof e || En(e) || Pn(e))
    }
    var kn = ["$$typeof", "render", "defaultProps", "props", "length", "prototype", "name", "caller", "callee", "arguments"];
    function Sn(e, t) {
        var r;
        return Object.keys(t).filter((function(e) {
            return !kn.includes(e)
        }
        )).forEach((function(r) {
            e[r] = t[r]
        }
        )),
        e
    }
    function Dn(e) {
        var t = function(t) {
            Yt()(n, t);
            var r = mn(n);
            function n() {
                return st()(this, n),
                r.apply(this, arguments)
            }
            return pt()(n, [{
                key: "render",
                value: function t() {
                    return Object(p.createElement)(e, this.props)
                }
            }]),
            n
        }(p.Component);
        return (t = Sn(t, e)).displayName = e.displayName,
        t
    }
    var An = function(e, t) {
        return _n(e) ? xn(e) ? e : Dn(e) : (console.error("\u7ec4\u4ef6 ".concat(t, " \u4e0d\u662f\u6709\u6548\u7684 React \u7ec4\u4ef6")),
        function() {
            return null
        }
        )
    };
    function Tn(e) {
        var t = {};
        e.components.forEach((function(e) {
            t[e.componentName] = e
        }
        ));
        var r = {};
        e.packages.forEach((function(e) {
            e.type && "default" !== e.type || (r[e.name] = e.library)
        }
        ));
        var n = vt.buildComponents(t, r);
        n.Page = dr;
        var o = {};
        return Object.keys(n).forEach((function(e) {
            o[e] = An(n[e], e)
        }
        )),
        {
            components: o,
            componentInfos: t
        }
    }
    vt.register(pr),
    vt.register(jr),
    _r.register("model", Rr),
    _r.register("delivery", Lr),
    _r.register("query", Gr),
    _r.register("slot", Br),
    _r.register("chunk", Vr),
    _r.register("chunk-inline", Yr),
    _r.register("i18n", Qr);
    var Cn = [Mr, pn, cn];
    function In(e, t) {
        var r = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
            var n = Object.getOwnPropertySymbols(e);
            t && (n = n.filter((function(t) {
                return Object.getOwnPropertyDescriptor(e, t).enumerable
            }
            ))),
            r.push.apply(r, n)
        }
        return r
    }
    function Nn(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = null != arguments[t] ? arguments[t] : {};
            t % 2 ? In(Object(r), !0).forEach((function(t) {
                h()(e, t, r[t])
            }
            )) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : In(Object(r)).forEach((function(t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t))
            }
            ))
        }
        return e
    }
    var Mn = function e(t) {
        var r = t.schema
          , n = t.components
          , o = t.componentInfos
          , a = t.containers
          , c = void 0 === a ? [] : a
          , i = t.componentWrappers
          , u = t.language
          , s = t.onRef;
        return i && (i = i.reverse(),
        Object.keys(n).forEach((function(e) {
            n[e] = i.reduce((function(e, t) {
                return t(e)
            }
            ), n[e])
        }
        ))),
        c.reverse(),
        l.a.createElement(Xr, {
            value: {
                language: u || E.zh_CN
            }
        }, c.reduce((function(e, t) {
            return l.a.createElement(t, null, e)
        }
        ), Rn({
            schema: r,
            components: n,
            componentInfos: o,
            onRef: s,
            isShadowNode: !1
        })))
    };
    function Rn(e) {
        var t = e.schema
          , r = e.components
          , n = e.componentInfos
          , o = e.onRef
          , a = e.templateProps
          , c = e.isShadowNode
          , i = t.componentName
          , u = r[i] || Un;
        if (!u)
            return l.a.createElement($n, {
                schema: t
            });
        if ("template" === t.type) {
            var s = t.props;
            return l.a.createElement(l.a.Fragment, null, (t.shadowChildren || []).map((function(e) {
                var t = ve(a, s || {});
                return Rn({
                    schema: e,
                    components: r,
                    componentInfos: n,
                    onRef: o,
                    templateProps: t,
                    isShadowNode: !0
                })
            }
            )))
        }
        var f = t.props || {}
          , p = t.exportId;
        if (c && p && a) {
            var d = a[p];
            if (d) {
                if (d.isRemove)
                    return null;
                d.props && (f = Y(f, d.props))
            }
        }
        var h = Ln({
            schema: t,
            components: r,
            componentInfos: n,
            onRef: o,
            templateProps: a,
            isShadowNode: c
        });
        return l.a.createElement(u, Nn(Nn({
            key: t.id
        }, f), {}, {
            __schema: t,
            __onRef: o,
            __renderComponent: function e(t) {
                return t ? Array.isArray(t) ? t.map((function(e) {
                    return Rn({
                        schema: e,
                        components: r,
                        componentInfos: n,
                        onRef: o,
                        templateProps: a,
                        isShadowNode: c
                    })
                }
                )) : Rn({
                    schema: t,
                    components: r,
                    componentInfos: n,
                    onRef: o,
                    templateProps: a,
                    isShadowNode: c
                }) : null
            },
            __renderChildren: function e(t, i) {
                if (a && c && p) {
                    a[p] || (a[p] = {});
                    var u = a[p];
                    u.slots = Nn(Nn({}, u.slots), i),
                    a[p] = u
                }
                return Ln({
                    schema: t,
                    components: r,
                    componentInfos: n,
                    onRef: o,
                    templateProps: a,
                    isShadowNode: c
                })
            },
            ref: function e(r) {
                o && o(r, t)
            }
        }), h)
    }
    function Ln(e) {
        var t = e.schema
          , r = e.components
          , n = e.componentInfos
          , o = e.onRef
          , a = e.templateProps
          , c = e.isShadowNode
          , i = []
          , u = !1
          , s = t.exportId;
        if (c && s && a) {
            var f = a[s];
            if (f && f.slots && f.slots.default) {
                u = !0;
                var p = {}
                  , l = t.children;
                l && Array.isArray(l) && l.forEach((function(e) {
                    e.id && (p[e.id] = e)
                }
                )),
                f.slots.default.forEach((function(e) {
                    switch (e.type) {
                    case "node":
                        i.push(Rn({
                            schema: e.node,
                            components: r,
                            componentInfos: n,
                            onRef: o,
                            templateProps: a,
                            isShadowNode: !0
                        }));
                        break;
                    case "placeholder":
                        var t = p[e.id];
                        t && i.push(Rn({
                            schema: t,
                            components: r,
                            componentInfos: n,
                            onRef: o,
                            templateProps: a,
                            isShadowNode: !0
                        }))
                    }
                }
                ))
            }
        }
        if (!u) {
            var d = t.children;
            d && Array.isArray(d) && (i = d.map((function(e) {
                return Rn({
                    schema: e,
                    components: r,
                    componentInfos: n,
                    onRef: o,
                    templateProps: a,
                    isShadowNode: c
                })
            }
            )))
        }
        return i.filter((function(e) {
            return !!e
        }
        ))
    }
    function $n(e) {
        var t = e.schema;
        return l.a.createElement("div", null, l.a.createElement("div", null, "\u627e\u4e0d\u5230\u7ec4\u4ef6 $", t.componentName), l.a.createElement("code", null, JSON.stringify(t, null, "  ")))
    }
    function Un(e) {
        var t;
        return e.children
    }
    function qn(e) {
        var t = e.schema
          , r = e.container
          , n = e.modelDatas
          , o = e.deliveryDatas
          , a = e.language
          , i = e.componentWrappers
          , u = void 0 === i ? {} : i
          , s = e.onMount;
        if (!r)
            throw new Error("\u6e32\u67d3\u65f6 container \u4e0d\u80fd\u4e3a\u7a7a");
        n && re(n),
        o && Ye(o);
        var p = Tn(t)
          , d = p.components
          , h = p.componentInfos;
        f.a.hydrate(l.a.createElement(Mn, {
            schema: t.schema,
            components: d,
            componentInfos: h,
            language: a,
            componentWrappers: [].concat(c()(u.pre || []), c()(Cn), c()(u.post || []))
        }), r, (function() {
            s && s()
        }
        ))
    }
    window.biu && window.biu.define && window.biu.define({
        name: "@ali/aliyun-com-lowcode-renderer",
        version: "0.1.0-alpha.0",
        dependencies: {
            react: "^16.8.1",
            "react-dom": "^16.8.1"
        }
    }, (function(e, t, r) {
        r.exports = qn
    }
    ));
    var Fn = document.getElementById("root");
    function Jn(e) {
        return zn.apply(this, arguments)
    }
    function zn() {
        return (zn = o()(u.a.mark((function e(t) {
            return u.a.wrap((function e(r) {
                for (; ; )
                    switch (r.prev = r.next) {
                    case 0:
                        return r.next = 2,
                        Promise.all(t.map((function(e) {
                            return new Promise((function(t) {
                                var r = document.createElement("link");
                                r.setAttribute("type", "text/css"),
                                r.setAttribute("rel", "stylesheet"),
                                r.setAttribute("href", e),
                                document.head.appendChild(r),
                                r.onload = function() {
                                    t()
                                }
                            }
                            ))
                        }
                        )));
                    case 2:
                    case "end":
                        return r.stop()
                    }
            }
            ), e)
        }
        )))).apply(this, arguments)
    }
    function Gn(e) {
        return Bn.apply(this, arguments)
    }
    function Bn() {
        return (Bn = o()(u.a.mark((function e(t) {
            return u.a.wrap((function e(r) {
                for (; ; )
                    switch (r.prev = r.next) {
                    case 0:
                        return r.next = 2,
                        Promise.all(t.map((function(e) {
                            return new Promise((function(t) {
                                var r = document.getElementsByTagName("head")[0]
                                  , n = document.createElement("script");
                                n.setAttribute("type", "text/javascript"),
                                n.setAttribute("src", e),
                                document.body.appendChild(n),
                                n.onload = function() {
                                    t()
                                }
                            }
                            ))
                        }
                        )));
                    case 2:
                    case "end":
                        return r.stop()
                    }
            }
            ), e)
        }
        )))).apply(this, arguments)
    }
    window.$PAGE_SCHEMA ? qn({
        schema: window.$PAGE_SCHEMA,
        container: Fn,
        modelDatas: window.$MODEL_DATA,
        deliveryDatas: window.$DELIVERY_DATA,
        onMount: function e() {
            window.$$SSR && (window.$PAGE_INIT_HTML = null == Fn ? void 0 : Fn.innerHTML)
        }
    }) : window.$SNAPSHOT_DATA_URL && fetch(window.$SNAPSHOT_DATA_URL).then((function(e) {
        return e.json()
    }
    )).then(function() {
        var e = o()(u.a.mark((function e(t) {
            return u.a.wrap((function e(r) {
                for (; ; )
                    switch (r.prev = r.next) {
                    case 0:
                        return r.next = 2,
                        Promise.all([Jn(t.styles), Gn(t.scripts)]);
                    case 2:
                        qn({
                            schema: t.schema,
                            container: Fn,
                            modelDatas: t.modelDatas,
                            deliveryDatas: t.deliveryDatas,
                            onMount: function e() {}
                        });
                    case 3:
                    case "end":
                        return r.stop()
                    }
            }
            ), e)
        }
        )));
        return function(t) {
            return e.apply(this, arguments)
        }
    }())
}
]);
